<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.6"/>
<title>SystemSharp: AsmCore.cs Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="logo.png"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">SystemSharp
   &#160;<span id="projectnumber">0.3</span>
   </div>
   <div id="projectbrief">A system-level modeling framework for designing real-time embedded systems</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.6 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Packages</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('_asm_core_8cs_source.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Properties</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark">&#160;</span>Events</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">AsmCore.cs</div>  </div>
</div><!--header-->
<div class="contents">
<a href="_asm_core_8cs.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;</div>
<div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="keyword">using</span> System;</div>
<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="keyword">using</span> System.Collections.Generic;</div>
<div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="keyword">using</span> System.Diagnostics;</div>
<div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="keyword">using</span> System.Diagnostics.Contracts;</div>
<div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span class="keyword">using</span> System.Linq;</div>
<div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;<span class="keyword">using</span> System.Reflection;</div>
<div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;<span class="keyword">using</span> System.Text;</div>
<div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;<span class="keyword">using</span> SystemSharp.Analysis;</div>
<div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;<span class="keyword">using</span> SystemSharp.Collections;</div>
<div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;<span class="keyword">using</span> SystemSharp.Common;</div>
<div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;<span class="keyword">using</span> SystemSharp.Components;</div>
<div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;<span class="keyword">using</span> SystemSharp.Meta;</div>
<div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;<span class="keyword">using</span> SystemSharp.Synthesis;</div>
<div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;<span class="keyword">using</span> SystemSharp.SysDOM;</div>
<div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;</div>
<div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;<span class="keyword">namespace </span>SystemSharp.Assembler</div>
<div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;{</div>
<div class="line"><a name="l00040"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_assembler_1_1_x_i_l_instr.html">   40</a></span>&#160;    <span class="keyword">public</span> <span class="keyword">class </span><a class="code" href="class_system_sharp_1_1_assembler_1_1_x_i_l_instr.html">XILInstr</a></div>
<div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;    {</div>
<div class="line"><a name="l00045"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_assembler_1_1_x_i_l_instr.html#ac1be110ff484ec0078a5ccc572d463bd">   45</a></span>&#160;        <span class="keyword">public</span> <span class="keywordtype">string</span> Name { <span class="keyword">get</span>; <span class="keyword">private</span> set; }</div>
<div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;</div>
<div class="line"><a name="l00050"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_assembler_1_1_x_i_l_instr.html#ac764bb3dd979b2652e84fdb6e7c96553">   50</a></span>&#160;        <span class="keyword">public</span> <span class="keywordtype">object</span> <a class="code" href="namespace_system_sharp_1_1_components.html#ad268018ef23fa93dc0631786a118b530a1b488933c47964ca059d24f978f094e4">Operand</a> { <span class="keyword">get</span>; <span class="keyword">private</span> set; }</div>
<div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;</div>
<div class="line"><a name="l00055"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_assembler_1_1_x_i_l_instr.html#a48b28e6bf2805d991e0491fa196dafb1">   55</a></span>&#160;        <span class="keyword">public</span> <span class="keywordtype">object</span> BackRef { <span class="keyword">get</span>; set; }</div>
<div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;</div>
<div class="line"><a name="l00062"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_assembler_1_1_x_i_l_instr.html#a0f11ba9becf9db55e3669c148b54c4c0">   62</a></span>&#160;        <span class="keyword">public</span> <a class="code" href="class_system_sharp_1_1_assembler_1_1_x_i_l_instr.html#a0f11ba9becf9db55e3669c148b54c4c0">XILInstr</a>(<span class="keywordtype">string</span> name, <span class="keywordtype">object</span> operand)</div>
<div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;        {</div>
<div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;            Name = name;</div>
<div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;            <a class="code" href="namespace_system_sharp_1_1_components.html#ad268018ef23fa93dc0631786a118b530a1b488933c47964ca059d24f978f094e4">Operand</a> = operand;</div>
<div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;        }</div>
<div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;</div>
<div class="line"><a name="l00072"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_assembler_1_1_x_i_l_instr.html#a948e683bbe2c9e97f340a74f7afdfe08">   72</a></span>&#160;        <span class="keyword">public</span> <a class="code" href="class_system_sharp_1_1_assembler_1_1_x_i_l_instr.html#a948e683bbe2c9e97f340a74f7afdfe08">XILInstr</a>(<span class="keywordtype">string</span> name)</div>
<div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;        {</div>
<div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;            Name = name;</div>
<div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;        }</div>
<div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;</div>
<div class="line"><a name="l00077"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_assembler_1_1_x_i_l_instr.html#a902cb75689f2dfb8146d71565524f280">   77</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">override</span> <span class="keywordtype">string</span> <a class="code" href="class_system_sharp_1_1_assembler_1_1_x_i_l_instr.html#a902cb75689f2dfb8146d71565524f280">ToString</a>()</div>
<div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;        {</div>
<div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;            <span class="keywordtype">string</span> result = Name;</div>
<div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;            <span class="keywordflow">if</span> (<a class="code" href="namespace_system_sharp_1_1_components.html#ad268018ef23fa93dc0631786a118b530a1b488933c47964ca059d24f978f094e4">Operand</a> != null)</div>
<div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;                result += <span class="stringliteral">&quot; [&quot;</span> + Operand.ToString() + <span class="stringliteral">&quot;]&quot;</span>;</div>
<div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;            <span class="keywordflow">return</span> result;</div>
<div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;        }</div>
<div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;</div>
<div class="line"><a name="l00085"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_assembler_1_1_x_i_l_instr.html#ab10eb8319aaa1cdcc67a097abbf52c08">   85</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">override</span> <span class="keywordtype">bool</span> <a class="code" href="class_system_sharp_1_1_assembler_1_1_x_i_l_instr.html#ab10eb8319aaa1cdcc67a097abbf52c08">Equals</a>(<span class="keywordtype">object</span> obj)</div>
<div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;        {</div>
<div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;            <a class="code" href="class_system_sharp_1_1_assembler_1_1_x_i_l_instr.html">XILInstr</a> xili = obj as <a class="code" href="class_system_sharp_1_1_assembler_1_1_x_i_l_instr.html">XILInstr</a>;</div>
<div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;            <span class="keywordflow">if</span> (xili == null)</div>
<div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;                <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
<div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;</div>
<div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;            <span class="keywordflow">return</span> Name.Equals(xili.Name) &amp;&amp;</div>
<div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;                <span class="keywordtype">object</span>.Equals(<a class="code" href="namespace_system_sharp_1_1_components.html#ad268018ef23fa93dc0631786a118b530a1b488933c47964ca059d24f978f094e4">Operand</a>, xili.<a class="code" href="class_system_sharp_1_1_assembler_1_1_x_i_l_instr.html#ac764bb3dd979b2652e84fdb6e7c96553">Operand</a>);</div>
<div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;        }</div>
<div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;</div>
<div class="line"><a name="l00095"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_assembler_1_1_x_i_l_instr.html#a28c1d4552d763409c7c470200c88acd0">   95</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">override</span> <span class="keywordtype">int</span> <a class="code" href="class_system_sharp_1_1_assembler_1_1_x_i_l_instr.html#a28c1d4552d763409c7c470200c88acd0">GetHashCode</a>()</div>
<div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;        {</div>
<div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;            <span class="keywordtype">int</span> hash = Name.GetHashCode();</div>
<div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;            <span class="keywordflow">if</span> (<a class="code" href="namespace_system_sharp_1_1_components.html#ad268018ef23fa93dc0631786a118b530a1b488933c47964ca059d24f978f094e4">Operand</a> != null)</div>
<div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;                hash ^= Operand.GetHashCode();</div>
<div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;            <span class="keywordflow">return</span> hash;</div>
<div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;        }</div>
<div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;</div>
<div class="line"><a name="l00110"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_assembler_1_1_x_i_l_instr.html#a803ac286c94a3a4e9d9ee94e78dd6ccf">  110</a></span>&#160;        <span class="keyword">public</span> <a class="code" href="class_system_sharp_1_1_assembler_1_1_x_i_l3_instr.html">XIL3Instr</a> <a class="code" href="class_system_sharp_1_1_assembler_1_1_x_i_l_instr.html#a803ac286c94a3a4e9d9ee94e78dd6ccf">Create3AC</a>(<a class="code" href="class_system_sharp_1_1_assembler_1_1_instruction_dependency.html">InstructionDependency</a>[] preds, <span class="keywordtype">int</span>[] operandSlots, <span class="keywordtype">int</span>[] resultSlots)</div>
<div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;        {</div>
<div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;            <span class="keywordflow">return</span> <span class="keyword">new</span> <a class="code" href="class_system_sharp_1_1_assembler_1_1_x_i_l3_instr.html">XIL3Instr</a>(<span class="keyword">this</span>, preds, operandSlots, resultSlots);</div>
<div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160;        }</div>
<div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160;</div>
<div class="line"><a name="l00122"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_assembler_1_1_x_i_l_instr.html#a182cd82b0a2a5e31069716ca7f1b8049">  122</a></span>&#160;        <span class="keyword">public</span> <a class="code" href="class_system_sharp_1_1_assembler_1_1_x_i_l_s_instr.html">XILSInstr</a> <a class="code" href="class_system_sharp_1_1_assembler_1_1_x_i_l_instr.html#a182cd82b0a2a5e31069716ca7f1b8049">CreateStk</a>(<a class="code" href="class_system_sharp_1_1_assembler_1_1_instruction_dependency.html">InstructionDependency</a>[] preds, <a class="code" href="class_system_sharp_1_1_meta_1_1_type_descriptor.html">TypeDescriptor</a>[] operandTypes, <a class="code" href="class_system_sharp_1_1_meta_1_1_type_descriptor.html">TypeDescriptor</a>[] resultTypes)</div>
<div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;        {</div>
<div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;            <span class="keywordflow">return</span> <span class="keyword">new</span> <a class="code" href="class_system_sharp_1_1_assembler_1_1_x_i_l_s_instr.html">XILSInstr</a>(<span class="keyword">this</span>, preds, operandTypes, resultTypes);</div>
<div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;        }</div>
<div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160;</div>
<div class="line"><a name="l00134"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_assembler_1_1_x_i_l_instr.html#a215b904e42fcaa538d19453ee4585ee1">  134</a></span>&#160;        <span class="keyword">public</span> <a class="code" href="class_system_sharp_1_1_assembler_1_1_x_i_l_s_instr.html">XILSInstr</a> <a class="code" href="class_system_sharp_1_1_assembler_1_1_x_i_l_instr.html#a215b904e42fcaa538d19453ee4585ee1">CreateStk</a>(<a class="code" href="class_system_sharp_1_1_assembler_1_1_instruction_dependency.html">InstructionDependency</a>[] preds, <span class="keywordtype">int</span> numOperands, params <a class="code" href="class_system_sharp_1_1_meta_1_1_type_descriptor.html">TypeDescriptor</a>[] types)</div>
<div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160;        {</div>
<div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160;            Debug.Assert(Name != InstructionCodes.Dig || numOperands == ((int)<a class="code" href="namespace_system_sharp_1_1_components.html#ad268018ef23fa93dc0631786a118b530a1b488933c47964ca059d24f978f094e4">Operand</a> + 1));</div>
<div class="line"><a name="l00137"></a><span class="lineno">  137</span>&#160;</div>
<div class="line"><a name="l00138"></a><span class="lineno">  138</span>&#160;            <a class="code" href="class_system_sharp_1_1_meta_1_1_type_descriptor.html">TypeDescriptor</a>[] operandTypes = <span class="keyword">new</span> <a class="code" href="class_system_sharp_1_1_meta_1_1_type_descriptor.html">TypeDescriptor</a>[numOperands];</div>
<div class="line"><a name="l00139"></a><span class="lineno">  139</span>&#160;            <a class="code" href="class_system_sharp_1_1_meta_1_1_type_descriptor.html">TypeDescriptor</a>[] resultTypes = <span class="keyword">new</span> <a class="code" href="class_system_sharp_1_1_meta_1_1_type_descriptor.html">TypeDescriptor</a>[types.Length - numOperands];</div>
<div class="line"><a name="l00140"></a><span class="lineno">  140</span>&#160;            Array.Copy(types, operandTypes, numOperands);</div>
<div class="line"><a name="l00141"></a><span class="lineno">  141</span>&#160;            Array.Copy(types, numOperands, resultTypes, 0, types.Length - numOperands);</div>
<div class="line"><a name="l00142"></a><span class="lineno">  142</span>&#160;            <span class="keywordflow">return</span> <span class="keyword">new</span> <a class="code" href="class_system_sharp_1_1_assembler_1_1_x_i_l_s_instr.html">XILSInstr</a>(<span class="keyword">this</span>, preds, operandTypes, resultTypes);</div>
<div class="line"><a name="l00143"></a><span class="lineno">  143</span>&#160;        }</div>
<div class="line"><a name="l00144"></a><span class="lineno">  144</span>&#160;</div>
<div class="line"><a name="l00151"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_assembler_1_1_x_i_l_instr.html#a5e4209dbd98b50f1f46c59b7a66ef1d5">  151</a></span>&#160;        <span class="keyword">public</span> <a class="code" href="class_system_sharp_1_1_assembler_1_1_x_i_l_s_instr.html">XILSInstr</a> <a class="code" href="class_system_sharp_1_1_assembler_1_1_x_i_l_instr.html#a5e4209dbd98b50f1f46c59b7a66ef1d5">CreateStk</a>(<span class="keywordtype">int</span> numOperands, params <a class="code" href="class_system_sharp_1_1_meta_1_1_type_descriptor.html">TypeDescriptor</a>[] types)</div>
<div class="line"><a name="l00152"></a><span class="lineno">  152</span>&#160;        {</div>
<div class="line"><a name="l00153"></a><span class="lineno">  153</span>&#160;            <span class="keywordflow">return</span> CreateStk(<span class="keyword">new</span> <a class="code" href="class_system_sharp_1_1_assembler_1_1_instruction_dependency.html">InstructionDependency</a>[0], numOperands, types);</div>
<div class="line"><a name="l00154"></a><span class="lineno">  154</span>&#160;        }</div>
<div class="line"><a name="l00155"></a><span class="lineno">  155</span>&#160;    }</div>
<div class="line"><a name="l00156"></a><span class="lineno">  156</span>&#160;</div>
<div class="line"><a name="l00164"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_assembler_1_1_instruction_dependency.html">  164</a></span>&#160;    <span class="keyword">public</span> <span class="keyword">abstract</span> <span class="keyword">class </span><a class="code" href="class_system_sharp_1_1_assembler_1_1_instruction_dependency.html">InstructionDependency</a></div>
<div class="line"><a name="l00165"></a><span class="lineno">  165</span>&#160;    {</div>
<div class="line"><a name="l00169"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_assembler_1_1_instruction_dependency.html#ab72d30b210789897e4249ccdd597d4f1">  169</a></span>&#160;        <span class="keyword">public</span> <span class="keywordtype">int</span> PredIndex { <span class="keyword">get</span>; <span class="keyword">private</span> set; }</div>
<div class="line"><a name="l00170"></a><span class="lineno">  170</span>&#160;</div>
<div class="line"><a name="l00175"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_assembler_1_1_instruction_dependency.html#a4e5dc4e7d44101586f8221b99718e29b">  175</a></span>&#160;        <span class="keyword">public</span> <a class="code" href="class_system_sharp_1_1_assembler_1_1_instruction_dependency.html#a4e5dc4e7d44101586f8221b99718e29b">InstructionDependency</a>(<span class="keywordtype">int</span> predIndex)</div>
<div class="line"><a name="l00176"></a><span class="lineno">  176</span>&#160;        {</div>
<div class="line"><a name="l00177"></a><span class="lineno">  177</span>&#160;            PredIndex = predIndex;</div>
<div class="line"><a name="l00178"></a><span class="lineno">  178</span>&#160;        }</div>
<div class="line"><a name="l00179"></a><span class="lineno">  179</span>&#160;</div>
<div class="line"><a name="l00185"></a><span class="lineno">  185</span>&#160;        <span class="keyword">public</span> <span class="keyword">abstract</span> <a class="code" href="class_system_sharp_1_1_assembler_1_1_instruction_dependency.html">InstructionDependency</a> Remap(<span class="keywordtype">int</span> newPredIndex);</div>
<div class="line"><a name="l00186"></a><span class="lineno">  186</span>&#160;    }</div>
<div class="line"><a name="l00187"></a><span class="lineno">  187</span>&#160;</div>
<div class="line"><a name="l00192"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_assembler_1_1_order_dependency.html">  192</a></span>&#160;    <span class="keyword">public</span> <span class="keyword">class </span><a class="code" href="class_system_sharp_1_1_assembler_1_1_order_dependency.html">OrderDependency</a> : <a class="code" href="class_system_sharp_1_1_assembler_1_1_instruction_dependency.html">InstructionDependency</a></div>
<div class="line"><a name="l00193"></a><span class="lineno">  193</span>&#160;    {</div>
<div class="line"><a name="l00197"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_assembler_1_1_order_dependency.html#a2bb50716219c6c298c82641dd07bd207">  197</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">enum</span> <a class="code" href="class_system_sharp_1_1_assembler_1_1_order_dependency.html#a2bb50716219c6c298c82641dd07bd207">EKind</a></div>
<div class="line"><a name="l00198"></a><span class="lineno">  198</span>&#160;        {</div>
<div class="line"><a name="l00202"></a><span class="lineno">  202</span>&#160;            BeginAfter,</div>
<div class="line"><a name="l00203"></a><span class="lineno">  203</span>&#160;</div>
<div class="line"><a name="l00207"></a><span class="lineno">  207</span>&#160;            CompleteAfter</div>
<div class="line"><a name="l00208"></a><span class="lineno">  208</span>&#160;        }</div>
<div class="line"><a name="l00209"></a><span class="lineno">  209</span>&#160;</div>
<div class="line"><a name="l00213"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_assembler_1_1_order_dependency.html#ae8dce821591cbd512a0af3bf3fff3541">  213</a></span>&#160;        <span class="keyword">public</span> <a class="code" href="class_system_sharp_1_1_assembler_1_1_order_dependency.html#a2bb50716219c6c298c82641dd07bd207">EKind</a> Kind { <span class="keyword">get</span>; <span class="keyword">private</span> set; }</div>
<div class="line"><a name="l00214"></a><span class="lineno">  214</span>&#160;</div>
<div class="line"><a name="l00220"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_assembler_1_1_order_dependency.html#a08ce660dfb3646a6f7d3f5a31def3ca5">  220</a></span>&#160;        <span class="keyword">public</span> <a class="code" href="class_system_sharp_1_1_assembler_1_1_order_dependency.html#a08ce660dfb3646a6f7d3f5a31def3ca5">OrderDependency</a>(<span class="keywordtype">int</span> predIndex, <a class="code" href="class_system_sharp_1_1_assembler_1_1_order_dependency.html#a2bb50716219c6c298c82641dd07bd207">EKind</a> kind):</div>
<div class="line"><a name="l00221"></a><span class="lineno">  221</span>&#160;            base(predIndex)</div>
<div class="line"><a name="l00222"></a><span class="lineno">  222</span>&#160;        {</div>
<div class="line"><a name="l00223"></a><span class="lineno">  223</span>&#160;            Kind = kind;</div>
<div class="line"><a name="l00224"></a><span class="lineno">  224</span>&#160;        }</div>
<div class="line"><a name="l00225"></a><span class="lineno">  225</span>&#160;</div>
<div class="line"><a name="l00226"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_assembler_1_1_order_dependency.html#acdf3cfdf9def02639d0b9ecb804922f5">  226</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">override</span> <span class="keywordtype">bool</span> <a class="code" href="class_system_sharp_1_1_assembler_1_1_order_dependency.html#acdf3cfdf9def02639d0b9ecb804922f5">Equals</a>(<span class="keywordtype">object</span> obj)</div>
<div class="line"><a name="l00227"></a><span class="lineno">  227</span>&#160;        {</div>
<div class="line"><a name="l00228"></a><span class="lineno">  228</span>&#160;            var other = obj as <a class="code" href="class_system_sharp_1_1_assembler_1_1_order_dependency.html">OrderDependency</a>;</div>
<div class="line"><a name="l00229"></a><span class="lineno">  229</span>&#160;            <span class="keywordflow">if</span> (other == null)</div>
<div class="line"><a name="l00230"></a><span class="lineno">  230</span>&#160;                <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
<div class="line"><a name="l00231"></a><span class="lineno">  231</span>&#160;</div>
<div class="line"><a name="l00232"></a><span class="lineno">  232</span>&#160;            <span class="keywordflow">return</span> Kind == other.Kind &amp;&amp;</div>
<div class="line"><a name="l00233"></a><span class="lineno">  233</span>&#160;                PredIndex == other.PredIndex;</div>
<div class="line"><a name="l00234"></a><span class="lineno">  234</span>&#160;        }</div>
<div class="line"><a name="l00235"></a><span class="lineno">  235</span>&#160;</div>
<div class="line"><a name="l00236"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_assembler_1_1_order_dependency.html#a23004bb286d269272f9ecd3390089c77">  236</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">override</span> <span class="keywordtype">int</span> <a class="code" href="class_system_sharp_1_1_assembler_1_1_order_dependency.html#a23004bb286d269272f9ecd3390089c77">GetHashCode</a>()</div>
<div class="line"><a name="l00237"></a><span class="lineno">  237</span>&#160;        {</div>
<div class="line"><a name="l00238"></a><span class="lineno">  238</span>&#160;            <span class="keywordflow">return</span> Kind.GetHashCode() ^ PredIndex;</div>
<div class="line"><a name="l00239"></a><span class="lineno">  239</span>&#160;        }</div>
<div class="line"><a name="l00240"></a><span class="lineno">  240</span>&#160;</div>
<div class="line"><a name="l00241"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_assembler_1_1_order_dependency.html#aed3fffc133617123707e78a635add6b1">  241</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">override</span> <span class="keywordtype">string</span> <a class="code" href="class_system_sharp_1_1_assembler_1_1_order_dependency.html#aed3fffc133617123707e78a635add6b1">ToString</a>()</div>
<div class="line"><a name="l00242"></a><span class="lineno">  242</span>&#160;        {</div>
<div class="line"><a name="l00243"></a><span class="lineno">  243</span>&#160;            <span class="keywordflow">switch</span> (Kind)</div>
<div class="line"><a name="l00244"></a><span class="lineno">  244</span>&#160;            {</div>
<div class="line"><a name="l00245"></a><span class="lineno">  245</span>&#160;                <span class="keywordflow">case</span> EKind.BeginAfter: <span class="keywordflow">return</span> <span class="stringliteral">&quot;begin after &quot;</span> + PredIndex;</div>
<div class="line"><a name="l00246"></a><span class="lineno">  246</span>&#160;                <span class="keywordflow">case</span> EKind.CompleteAfter: <span class="keywordflow">return</span> <span class="stringliteral">&quot;complete after &quot;</span> + PredIndex;</div>
<div class="line"><a name="l00247"></a><span class="lineno">  247</span>&#160;                <span class="keywordflow">default</span>: <span class="keywordflow">throw</span> <span class="keyword">new</span> NotImplementedException();</div>
<div class="line"><a name="l00248"></a><span class="lineno">  248</span>&#160;            }</div>
<div class="line"><a name="l00249"></a><span class="lineno">  249</span>&#160;        }</div>
<div class="line"><a name="l00250"></a><span class="lineno">  250</span>&#160;</div>
<div class="line"><a name="l00251"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_assembler_1_1_order_dependency.html#a4462063f736230caba03219bfee1cc12">  251</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">override</span> <a class="code" href="class_system_sharp_1_1_assembler_1_1_instruction_dependency.html">InstructionDependency</a> <a class="code" href="class_system_sharp_1_1_assembler_1_1_order_dependency.html#a4462063f736230caba03219bfee1cc12">Remap</a>(<span class="keywordtype">int</span> newPredIndex)</div>
<div class="line"><a name="l00252"></a><span class="lineno">  252</span>&#160;        {</div>
<div class="line"><a name="l00253"></a><span class="lineno">  253</span>&#160;            <span class="keywordflow">return</span> <span class="keyword">new</span> <a class="code" href="class_system_sharp_1_1_assembler_1_1_order_dependency.html">OrderDependency</a>(newPredIndex, Kind);</div>
<div class="line"><a name="l00254"></a><span class="lineno">  254</span>&#160;        }</div>
<div class="line"><a name="l00255"></a><span class="lineno">  255</span>&#160;    }</div>
<div class="line"><a name="l00256"></a><span class="lineno">  256</span>&#160;</div>
<div class="line"><a name="l00261"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_assembler_1_1_time_dependency.html">  261</a></span>&#160;    <span class="keyword">public</span> <span class="keyword">class </span><a class="code" href="class_system_sharp_1_1_assembler_1_1_time_dependency.html">TimeDependency</a> : <a class="code" href="class_system_sharp_1_1_assembler_1_1_instruction_dependency.html">InstructionDependency</a></div>
<div class="line"><a name="l00262"></a><span class="lineno">  262</span>&#160;    {</div>
<div class="line"><a name="l00266"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_assembler_1_1_time_dependency.html#ae04146634351edcbc65026e6cb0e9d66">  266</a></span>&#160;        <span class="keyword">public</span> <span class="keywordtype">long</span> MinDelay { <span class="keyword">get</span>; <span class="keyword">private</span> set; }</div>
<div class="line"><a name="l00267"></a><span class="lineno">  267</span>&#160;</div>
<div class="line"><a name="l00271"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_assembler_1_1_time_dependency.html#adc2f049ff4b9feec12fce41897dd7fc2">  271</a></span>&#160;        <span class="keyword">public</span> <span class="keywordtype">long</span> MaxDelay { <span class="keyword">get</span>; <span class="keyword">private</span> set; }</div>
<div class="line"><a name="l00272"></a><span class="lineno">  272</span>&#160;</div>
<div class="line"><a name="l00279"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_assembler_1_1_time_dependency.html#a51ccf1f0111971ceb17743c94f6928bd">  279</a></span>&#160;        <span class="keyword">public</span> <a class="code" href="class_system_sharp_1_1_assembler_1_1_time_dependency.html#a51ccf1f0111971ceb17743c94f6928bd">TimeDependency</a>(<span class="keywordtype">int</span> predIndex, <span class="keywordtype">long</span> minDelay, <span class="keywordtype">long</span> maxDelay):</div>
<div class="line"><a name="l00280"></a><span class="lineno">  280</span>&#160;            base(predIndex)</div>
<div class="line"><a name="l00281"></a><span class="lineno">  281</span>&#160;        {</div>
<div class="line"><a name="l00282"></a><span class="lineno">  282</span>&#160;            MinDelay = minDelay;</div>
<div class="line"><a name="l00283"></a><span class="lineno">  283</span>&#160;            MaxDelay = maxDelay;</div>
<div class="line"><a name="l00284"></a><span class="lineno">  284</span>&#160;        }</div>
<div class="line"><a name="l00285"></a><span class="lineno">  285</span>&#160;</div>
<div class="line"><a name="l00286"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_assembler_1_1_time_dependency.html#a8624652c90f6c9796c39089a146df0ec">  286</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">override</span> <span class="keywordtype">bool</span> <a class="code" href="class_system_sharp_1_1_assembler_1_1_time_dependency.html#a8624652c90f6c9796c39089a146df0ec">Equals</a>(<span class="keywordtype">object</span> obj)</div>
<div class="line"><a name="l00287"></a><span class="lineno">  287</span>&#160;        {</div>
<div class="line"><a name="l00288"></a><span class="lineno">  288</span>&#160;            var other = obj as <a class="code" href="class_system_sharp_1_1_assembler_1_1_time_dependency.html">TimeDependency</a>;</div>
<div class="line"><a name="l00289"></a><span class="lineno">  289</span>&#160;            <span class="keywordflow">if</span> (other == null)</div>
<div class="line"><a name="l00290"></a><span class="lineno">  290</span>&#160;                <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
<div class="line"><a name="l00291"></a><span class="lineno">  291</span>&#160;</div>
<div class="line"><a name="l00292"></a><span class="lineno">  292</span>&#160;            <span class="keywordflow">return</span> PredIndex == other.PredIndex &amp;&amp;</div>
<div class="line"><a name="l00293"></a><span class="lineno">  293</span>&#160;                MinDelay == other.MinDelay &amp;&amp;</div>
<div class="line"><a name="l00294"></a><span class="lineno">  294</span>&#160;                MaxDelay == other.MaxDelay;</div>
<div class="line"><a name="l00295"></a><span class="lineno">  295</span>&#160;        }</div>
<div class="line"><a name="l00296"></a><span class="lineno">  296</span>&#160;</div>
<div class="line"><a name="l00297"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_assembler_1_1_time_dependency.html#a9b7e5c1acd07dd57890cf7b0fb34550d">  297</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">override</span> <span class="keywordtype">int</span> <a class="code" href="class_system_sharp_1_1_assembler_1_1_time_dependency.html#a9b7e5c1acd07dd57890cf7b0fb34550d">GetHashCode</a>()</div>
<div class="line"><a name="l00298"></a><span class="lineno">  298</span>&#160;        {</div>
<div class="line"><a name="l00299"></a><span class="lineno">  299</span>&#160;            <span class="keywordflow">return</span> PredIndex.GetHashCode() ^</div>
<div class="line"><a name="l00300"></a><span class="lineno">  300</span>&#160;                (MinDelay.GetHashCode() &lt;&lt; 1) ^</div>
<div class="line"><a name="l00301"></a><span class="lineno">  301</span>&#160;                MaxDelay.GetHashCode();</div>
<div class="line"><a name="l00302"></a><span class="lineno">  302</span>&#160;        }</div>
<div class="line"><a name="l00303"></a><span class="lineno">  303</span>&#160;</div>
<div class="line"><a name="l00304"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_assembler_1_1_time_dependency.html#ab2184f7dc746644f9e965753192652d0">  304</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">override</span> <span class="keywordtype">string</span> <a class="code" href="class_system_sharp_1_1_assembler_1_1_time_dependency.html#ab2184f7dc746644f9e965753192652d0">ToString</a>()</div>
<div class="line"><a name="l00305"></a><span class="lineno">  305</span>&#160;        {</div>
<div class="line"><a name="l00306"></a><span class="lineno">  306</span>&#160;            <span class="keywordflow">return</span> <span class="stringliteral">&quot;from &quot;</span> + PredIndex + <span class="stringliteral">&quot; &quot;</span> + MinDelay + <span class="stringliteral">&quot;-&quot;</span> + MaxDelay + <span class="stringliteral">&quot; c-steps&quot;</span>;                 </div>
<div class="line"><a name="l00307"></a><span class="lineno">  307</span>&#160;        }</div>
<div class="line"><a name="l00308"></a><span class="lineno">  308</span>&#160;</div>
<div class="line"><a name="l00309"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_assembler_1_1_time_dependency.html#ac849ba381f55627cef27d99009b813a9">  309</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">override</span> <a class="code" href="class_system_sharp_1_1_assembler_1_1_instruction_dependency.html">InstructionDependency</a> <a class="code" href="class_system_sharp_1_1_assembler_1_1_time_dependency.html#ac849ba381f55627cef27d99009b813a9">Remap</a>(<span class="keywordtype">int</span> newPredIndex)</div>
<div class="line"><a name="l00310"></a><span class="lineno">  310</span>&#160;        {</div>
<div class="line"><a name="l00311"></a><span class="lineno">  311</span>&#160;            <span class="keywordflow">return</span> <span class="keyword">new</span> <a class="code" href="class_system_sharp_1_1_assembler_1_1_time_dependency.html">TimeDependency</a>(newPredIndex, MinDelay, MaxDelay);</div>
<div class="line"><a name="l00312"></a><span class="lineno">  312</span>&#160;        }</div>
<div class="line"><a name="l00313"></a><span class="lineno">  313</span>&#160;    }</div>
<div class="line"><a name="l00314"></a><span class="lineno">  314</span>&#160;</div>
<div class="line"><a name="l00318"></a><span class="lineno"><a class="line" href="interface_system_sharp_1_1_assembler_1_1_i_x_i_lx_instr.html">  318</a></span>&#160;    <span class="keyword">public</span> <span class="keyword">interface </span><a class="code" href="interface_system_sharp_1_1_assembler_1_1_i_x_i_lx_instr.html">IXILxInstr</a> : <a class="code" href="interface_system_sharp_1_1_analysis_1_1_i_instruction.html">IInstruction</a></div>
<div class="line"><a name="l00319"></a><span class="lineno">  319</span>&#160;    {</div>
<div class="line"><a name="l00323"></a><span class="lineno"><a class="line" href="interface_system_sharp_1_1_assembler_1_1_i_x_i_lx_instr.html#a2df88c6fb1e622333a1b9f061f516625">  323</a></span>&#160;        <span class="keywordtype">string</span> Name { <span class="keyword">get</span>; }</div>
<div class="line"><a name="l00324"></a><span class="lineno">  324</span>&#160;</div>
<div class="line"><a name="l00328"></a><span class="lineno"><a class="line" href="interface_system_sharp_1_1_assembler_1_1_i_x_i_lx_instr.html#ac14fd4bb05a76915b0dfc70cb59b4c37">  328</a></span>&#160;        <a class="code" href="class_system_sharp_1_1_assembler_1_1_x_i_l_instr.html">XILInstr</a> Command { <span class="keyword">get</span>; }</div>
<div class="line"><a name="l00329"></a><span class="lineno">  329</span>&#160;</div>
<div class="line"><a name="l00333"></a><span class="lineno"><a class="line" href="interface_system_sharp_1_1_assembler_1_1_i_x_i_lx_instr.html#adceb31b7a896c967d2b935466b49c492">  333</a></span>&#160;        <span class="keywordtype">object</span> StaticOperand { <span class="keyword">get</span>; }</div>
<div class="line"><a name="l00334"></a><span class="lineno">  334</span>&#160;</div>
<div class="line"><a name="l00338"></a><span class="lineno"><a class="line" href="interface_system_sharp_1_1_assembler_1_1_i_x_i_lx_instr.html#a0400a5462ee8f178aa061d6912c25f16">  338</a></span>&#160;        <a class="code" href="class_system_sharp_1_1_assembler_1_1_instruction_dependency.html">InstructionDependency</a>[] Preds { <span class="keyword">get</span>; }</div>
<div class="line"><a name="l00339"></a><span class="lineno">  339</span>&#160;    }</div>
<div class="line"><a name="l00340"></a><span class="lineno">  340</span>&#160;</div>
<div class="line"><a name="l00350"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_assembler_1_1_x_i_l3_instr.html">  350</a></span>&#160;    <span class="keyword">public</span> <span class="keyword">class </span><a class="code" href="class_system_sharp_1_1_assembler_1_1_x_i_l3_instr.html">XIL3Instr</a>: <a class="code" href="interface_system_sharp_1_1_assembler_1_1_i_x_i_lx_instr.html">IXILxInstr</a></div>
<div class="line"><a name="l00351"></a><span class="lineno">  351</span>&#160;    {</div>
<div class="line"><a name="l00355"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_assembler_1_1_x_i_l3_instr.html#ad930215bfe1aa1bf6e1bd4e0d4c780dd">  355</a></span>&#160;        <span class="keyword">public</span> <a class="code" href="class_system_sharp_1_1_assembler_1_1_x_i_l_instr.html">XILInstr</a> Command { <span class="keyword">get</span>; <span class="keyword">private</span> set; }</div>
<div class="line"><a name="l00356"></a><span class="lineno">  356</span>&#160;</div>
<div class="line"><a name="l00360"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_assembler_1_1_x_i_l3_instr.html#aec6fde36bf20895130f1ca726dbd584c">  360</a></span>&#160;        <span class="keyword">public</span> <span class="keywordtype">int</span> Index { <span class="keyword">get</span>; set; }</div>
<div class="line"><a name="l00361"></a><span class="lineno">  361</span>&#160;</div>
<div class="line"><a name="l00365"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_assembler_1_1_x_i_l3_instr.html#a77f9586eb8da24a389e4d46bf048b9fb">  365</a></span>&#160;        <span class="keyword">public</span> <a class="code" href="class_system_sharp_1_1_assembler_1_1_instruction_dependency.html">InstructionDependency</a>[] Preds { <span class="keyword">get</span>; <span class="keyword">private</span> set; }</div>
<div class="line"><a name="l00366"></a><span class="lineno">  366</span>&#160;</div>
<div class="line"><a name="l00370"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_assembler_1_1_x_i_l3_instr.html#a742590063c2352fc93d9d0925094e540">  370</a></span>&#160;        <span class="keyword">public</span> <span class="keywordtype">int</span>[] OperandSlots { <span class="keyword">get</span>; <span class="keyword">private</span> set; }</div>
<div class="line"><a name="l00371"></a><span class="lineno">  371</span>&#160;</div>
<div class="line"><a name="l00375"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_assembler_1_1_x_i_l3_instr.html#a261045a6b486f5be3b1b2e209e706b76">  375</a></span>&#160;        <span class="keyword">public</span> <span class="keywordtype">int</span>[] ResultSlots { <span class="keyword">get</span>; <span class="keyword">private</span> set; }</div>
<div class="line"><a name="l00376"></a><span class="lineno">  376</span>&#160;</div>
<div class="line"><a name="l00380"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_assembler_1_1_x_i_l3_instr.html#a2d7e4a4e26053c82191d5e82e71179a1">  380</a></span>&#160;        <span class="keyword">public</span> <a class="code" href="class_system_sharp_1_1_analysis_1_1_i_l_index_ref.html">ILIndexRef</a> CILRef { <span class="keyword">get</span>; <span class="keyword">internal</span> set; }</div>
<div class="line"><a name="l00381"></a><span class="lineno">  381</span>&#160;</div>
<div class="line"><a name="l00382"></a><span class="lineno">  382</span>&#160;        <span class="keyword">public</span> <span class="keywordtype">object</span> StaticOperand</div>
<div class="line"><a name="l00383"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_assembler_1_1_x_i_l3_instr.html#a55330e8f2ddc40d951123d8dc979c14a">  383</a></span>&#160;        {</div>
<div class="line"><a name="l00384"></a><span class="lineno">  384</span>&#160;            <span class="keyword">get</span> { <span class="keywordflow">return</span> Command.Operand; }</div>
<div class="line"><a name="l00385"></a><span class="lineno">  385</span>&#160;        }</div>
<div class="line"><a name="l00386"></a><span class="lineno">  386</span>&#160;</div>
<div class="line"><a name="l00387"></a><span class="lineno">  387</span>&#160;        <span class="keyword">public</span> <span class="keywordtype">string</span> Name</div>
<div class="line"><a name="l00388"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_assembler_1_1_x_i_l3_instr.html#ab8cd605fc1b82442d7dab4885bc231ca">  388</a></span>&#160;        {</div>
<div class="line"><a name="l00389"></a><span class="lineno">  389</span>&#160;            <span class="keyword">get</span> { <span class="keywordflow">return</span> Command.Name; }</div>
<div class="line"><a name="l00390"></a><span class="lineno">  390</span>&#160;        }</div>
<div class="line"><a name="l00391"></a><span class="lineno">  391</span>&#160;</div>
<div class="line"><a name="l00399"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_assembler_1_1_x_i_l3_instr.html#a09bba27cd9036b5761b80bd32f19e9fd">  399</a></span>&#160;        <span class="keyword">public</span> <a class="code" href="class_system_sharp_1_1_assembler_1_1_x_i_l3_instr.html#a09bba27cd9036b5761b80bd32f19e9fd">XIL3Instr</a>(<a class="code" href="class_system_sharp_1_1_assembler_1_1_x_i_l_instr.html">XILInstr</a> command,</div>
<div class="line"><a name="l00400"></a><span class="lineno">  400</span>&#160;            <a class="code" href="class_system_sharp_1_1_assembler_1_1_instruction_dependency.html">InstructionDependency</a>[] preds, <span class="keywordtype">int</span>[] operandSlots, <span class="keywordtype">int</span>[] resultSlots)</div>
<div class="line"><a name="l00401"></a><span class="lineno">  401</span>&#160;        {</div>
<div class="line"><a name="l00402"></a><span class="lineno">  402</span>&#160;            Command = command;</div>
<div class="line"><a name="l00403"></a><span class="lineno">  403</span>&#160;            Preds = preds;</div>
<div class="line"><a name="l00404"></a><span class="lineno">  404</span>&#160;            OperandSlots = operandSlots;</div>
<div class="line"><a name="l00405"></a><span class="lineno">  405</span>&#160;            ResultSlots = resultSlots;</div>
<div class="line"><a name="l00406"></a><span class="lineno">  406</span>&#160;            Index = -1;</div>
<div class="line"><a name="l00407"></a><span class="lineno">  407</span>&#160;            CILRef = null;</div>
<div class="line"><a name="l00408"></a><span class="lineno">  408</span>&#160;        }</div>
<div class="line"><a name="l00409"></a><span class="lineno">  409</span>&#160;</div>
<div class="line"><a name="l00410"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_assembler_1_1_x_i_l3_instr.html#a61d14ed06e53f940dcb61515c331159f">  410</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">override</span> <span class="keywordtype">string</span> <a class="code" href="class_system_sharp_1_1_assembler_1_1_x_i_l3_instr.html#a61d14ed06e53f940dcb61515c331159f">ToString</a>()</div>
<div class="line"><a name="l00411"></a><span class="lineno">  411</span>&#160;        {</div>
<div class="line"><a name="l00412"></a><span class="lineno">  412</span>&#160;            StringBuilder sb = <span class="keyword">new</span> StringBuilder();</div>
<div class="line"><a name="l00413"></a><span class="lineno">  413</span>&#160;            sb.Append(Command.ToString());</div>
<div class="line"><a name="l00414"></a><span class="lineno">  414</span>&#160;            sb.Append(<span class="stringliteral">&quot; (&quot;</span>);</div>
<div class="line"><a name="l00415"></a><span class="lineno">  415</span>&#160;            sb.Append(string.Join(<span class="stringliteral">&quot;, &quot;</span>, OperandSlots));</div>
<div class="line"><a name="l00416"></a><span class="lineno">  416</span>&#160;            sb.Append(<span class="stringliteral">&quot;) =&gt; (&quot;</span>);</div>
<div class="line"><a name="l00417"></a><span class="lineno">  417</span>&#160;            sb.Append(string.Join(<span class="stringliteral">&quot;, &quot;</span>, ResultSlots));</div>
<div class="line"><a name="l00418"></a><span class="lineno">  418</span>&#160;            sb.Append(<span class="stringliteral">&quot;)&quot;</span>);</div>
<div class="line"><a name="l00419"></a><span class="lineno">  419</span>&#160;            <span class="keywordflow">if</span> (Preds.Length &gt; 0)</div>
<div class="line"><a name="l00420"></a><span class="lineno">  420</span>&#160;            {</div>
<div class="line"><a name="l00421"></a><span class="lineno">  421</span>&#160;                sb.Append(<span class="stringliteral">&quot; &quot;</span>);</div>
<div class="line"><a name="l00422"></a><span class="lineno">  422</span>&#160;                sb.Append(string.Join&lt;<a class="code" href="class_system_sharp_1_1_assembler_1_1_instruction_dependency.html">InstructionDependency</a>&gt;(<span class="stringliteral">&quot;, &quot;</span>, Preds));</div>
<div class="line"><a name="l00423"></a><span class="lineno">  423</span>&#160;            }</div>
<div class="line"><a name="l00424"></a><span class="lineno">  424</span>&#160;            <span class="keywordflow">if</span> (CILRef != null)</div>
<div class="line"><a name="l00425"></a><span class="lineno">  425</span>&#160;            {</div>
<div class="line"><a name="l00426"></a><span class="lineno">  426</span>&#160;                sb.Append(<span class="stringliteral">&quot; {&quot;</span>);</div>
<div class="line"><a name="l00427"></a><span class="lineno">  427</span>&#160;                sb.Append(CILRef.ToString());</div>
<div class="line"><a name="l00428"></a><span class="lineno">  428</span>&#160;                sb.Append(<span class="stringliteral">&quot;}&quot;</span>);</div>
<div class="line"><a name="l00429"></a><span class="lineno">  429</span>&#160;            }</div>
<div class="line"><a name="l00430"></a><span class="lineno">  430</span>&#160;            <span class="keywordflow">return</span> sb.ToString();</div>
<div class="line"><a name="l00431"></a><span class="lineno">  431</span>&#160;        }</div>
<div class="line"><a name="l00432"></a><span class="lineno">  432</span>&#160;    }</div>
<div class="line"><a name="l00433"></a><span class="lineno">  433</span>&#160;</div>
<div class="line"><a name="l00444"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_assembler_1_1_x_i_l_s_instr.html">  444</a></span>&#160;    <span class="keyword">public</span> <span class="keyword">class </span><a class="code" href="class_system_sharp_1_1_assembler_1_1_x_i_l_s_instr.html">XILSInstr</a>: <a class="code" href="interface_system_sharp_1_1_assembler_1_1_i_x_i_lx_instr.html">IXILxInstr</a></div>
<div class="line"><a name="l00445"></a><span class="lineno">  445</span>&#160;    {</div>
<div class="line"><a name="l00449"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_assembler_1_1_x_i_l_s_instr.html#a4a8684d0a4696fdbbd92d283468f7348">  449</a></span>&#160;        <span class="keyword">public</span> <a class="code" href="class_system_sharp_1_1_assembler_1_1_x_i_l_instr.html">XILInstr</a> Command { <span class="keyword">get</span>; <span class="keyword">private</span> set; }</div>
<div class="line"><a name="l00450"></a><span class="lineno">  450</span>&#160;</div>
<div class="line"><a name="l00454"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_assembler_1_1_x_i_l_s_instr.html#a3ee2e647d981c0a826cb938f1b398b4f">  454</a></span>&#160;        <span class="keyword">public</span> <span class="keywordtype">int</span> Index { <span class="keyword">get</span>; set; }</div>
<div class="line"><a name="l00455"></a><span class="lineno">  455</span>&#160;</div>
<div class="line"><a name="l00459"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_assembler_1_1_x_i_l_s_instr.html#a36a6a6eb2be85971eb26d5eb65002c22">  459</a></span>&#160;        <span class="keyword">public</span> <a class="code" href="class_system_sharp_1_1_assembler_1_1_instruction_dependency.html">InstructionDependency</a>[] Preds { <span class="keyword">get</span>; <span class="keyword">private</span> set; }</div>
<div class="line"><a name="l00460"></a><span class="lineno">  460</span>&#160;</div>
<div class="line"><a name="l00464"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_assembler_1_1_x_i_l_s_instr.html#a150187afdc70d69313ed664984ca65aa">  464</a></span>&#160;        <span class="keyword">public</span> <a class="code" href="class_system_sharp_1_1_meta_1_1_type_descriptor.html">TypeDescriptor</a>[] OperandTypes { <span class="keyword">get</span>; <span class="keyword">private</span> set; }</div>
<div class="line"><a name="l00465"></a><span class="lineno">  465</span>&#160;</div>
<div class="line"><a name="l00469"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_assembler_1_1_x_i_l_s_instr.html#a79bc10b4989b44fcefc2f9644fbe0b07">  469</a></span>&#160;        <span class="keyword">public</span> <a class="code" href="class_system_sharp_1_1_meta_1_1_type_descriptor.html">TypeDescriptor</a>[] ResultTypes { <span class="keyword">get</span>; <span class="keyword">private</span> set; }</div>
<div class="line"><a name="l00470"></a><span class="lineno">  470</span>&#160;</div>
<div class="line"><a name="l00474"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_assembler_1_1_x_i_l_s_instr.html#aa8f7e1b1e355553616a44c8e25a5ad0d">  474</a></span>&#160;        <span class="keyword">public</span> <a class="code" href="class_system_sharp_1_1_analysis_1_1_i_l_index_ref.html">ILIndexRef</a> CILRef { <span class="keyword">get</span>; <span class="keyword">internal</span> set; }</div>
<div class="line"><a name="l00475"></a><span class="lineno">  475</span>&#160;</div>
<div class="line"><a name="l00476"></a><span class="lineno">  476</span>&#160;        <span class="keyword">public</span> <span class="keywordtype">object</span> StaticOperand</div>
<div class="line"><a name="l00477"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_assembler_1_1_x_i_l_s_instr.html#a6dc4c54bbf5827e0d316ebcf05c776c5">  477</a></span>&#160;        {</div>
<div class="line"><a name="l00478"></a><span class="lineno">  478</span>&#160;            <span class="keyword">get</span> { <span class="keywordflow">return</span> Command.Operand; }</div>
<div class="line"><a name="l00479"></a><span class="lineno">  479</span>&#160;        }</div>
<div class="line"><a name="l00480"></a><span class="lineno">  480</span>&#160;</div>
<div class="line"><a name="l00481"></a><span class="lineno">  481</span>&#160;        <span class="keyword">public</span> <span class="keywordtype">string</span> Name</div>
<div class="line"><a name="l00482"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_assembler_1_1_x_i_l_s_instr.html#a5e32a0157baf6e849171757be4a72581">  482</a></span>&#160;        {</div>
<div class="line"><a name="l00483"></a><span class="lineno">  483</span>&#160;            <span class="keyword">get</span> { <span class="keywordflow">return</span> Command.Name; }</div>
<div class="line"><a name="l00484"></a><span class="lineno">  484</span>&#160;        }</div>
<div class="line"><a name="l00485"></a><span class="lineno">  485</span>&#160;</div>
<div class="line"><a name="l00493"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_assembler_1_1_x_i_l_s_instr.html#ac07d857b6993d86dde02c345082324f5">  493</a></span>&#160;        <span class="keyword">public</span> <a class="code" href="class_system_sharp_1_1_assembler_1_1_x_i_l_s_instr.html#ac07d857b6993d86dde02c345082324f5">XILSInstr</a>(<a class="code" href="class_system_sharp_1_1_assembler_1_1_x_i_l_instr.html">XILInstr</a> command, <a class="code" href="class_system_sharp_1_1_assembler_1_1_instruction_dependency.html">InstructionDependency</a>[] preds,</div>
<div class="line"><a name="l00494"></a><span class="lineno">  494</span>&#160;            <a class="code" href="class_system_sharp_1_1_meta_1_1_type_descriptor.html">TypeDescriptor</a>[] operandTypes, <a class="code" href="class_system_sharp_1_1_meta_1_1_type_descriptor.html">TypeDescriptor</a>[] resultTypes)</div>
<div class="line"><a name="l00495"></a><span class="lineno">  495</span>&#160;        {</div>
<div class="line"><a name="l00496"></a><span class="lineno">  496</span>&#160;            Contract.Requires(command != null &amp;&amp; preds != null &amp;&amp;</div>
<div class="line"><a name="l00497"></a><span class="lineno">  497</span>&#160;                operandTypes != null &amp;&amp; operandTypes.All(t =&gt; t != null) &amp;&amp;</div>
<div class="line"><a name="l00498"></a><span class="lineno">  498</span>&#160;                resultTypes != null &amp;&amp; resultTypes.All(t =&gt; t != null));</div>
<div class="line"><a name="l00499"></a><span class="lineno">  499</span>&#160;</div>
<div class="line"><a name="l00500"></a><span class="lineno">  500</span>&#160;            Command = command;</div>
<div class="line"><a name="l00501"></a><span class="lineno">  501</span>&#160;            Preds = preds;</div>
<div class="line"><a name="l00502"></a><span class="lineno">  502</span>&#160;            OperandTypes = operandTypes;</div>
<div class="line"><a name="l00503"></a><span class="lineno">  503</span>&#160;            ResultTypes = resultTypes;</div>
<div class="line"><a name="l00504"></a><span class="lineno">  504</span>&#160;</div>
<div class="line"><a name="l00505"></a><span class="lineno">  505</span>&#160;            CILRef = null;</div>
<div class="line"><a name="l00506"></a><span class="lineno">  506</span>&#160;        }</div>
<div class="line"><a name="l00507"></a><span class="lineno">  507</span>&#160;</div>
<div class="line"><a name="l00508"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_assembler_1_1_x_i_l_s_instr.html#a91023561b596037ba791c243f3284830">  508</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">override</span> <span class="keywordtype">string</span> <a class="code" href="class_system_sharp_1_1_assembler_1_1_x_i_l_s_instr.html#a91023561b596037ba791c243f3284830">ToString</a>()</div>
<div class="line"><a name="l00509"></a><span class="lineno">  509</span>&#160;        {</div>
<div class="line"><a name="l00510"></a><span class="lineno">  510</span>&#160;            StringBuilder sb = <span class="keyword">new</span> StringBuilder();</div>
<div class="line"><a name="l00511"></a><span class="lineno">  511</span>&#160;            sb.Append(Command.ToString());</div>
<div class="line"><a name="l00512"></a><span class="lineno">  512</span>&#160;            sb.Append(<span class="stringliteral">&quot;&lt;&quot;</span>);</div>
<div class="line"><a name="l00513"></a><span class="lineno">  513</span>&#160;            sb.Append(string.Join&lt;<a class="code" href="class_system_sharp_1_1_meta_1_1_type_descriptor.html">TypeDescriptor</a>&gt;(<span class="stringliteral">&quot;, &quot;</span>, OperandTypes));</div>
<div class="line"><a name="l00514"></a><span class="lineno">  514</span>&#160;            sb.Append(<span class="stringliteral">&quot; =&gt; &quot;</span>);</div>
<div class="line"><a name="l00515"></a><span class="lineno">  515</span>&#160;            sb.Append(string.Join&lt;TypeDescriptor&gt;(<span class="stringliteral">&quot;, &quot;</span>, ResultTypes));</div>
<div class="line"><a name="l00516"></a><span class="lineno">  516</span>&#160;            sb.Append(<span class="stringliteral">&quot;&gt;&quot;</span>);</div>
<div class="line"><a name="l00517"></a><span class="lineno">  517</span>&#160;            <span class="keywordflow">if</span> (Preds.Length &gt; 0)</div>
<div class="line"><a name="l00518"></a><span class="lineno">  518</span>&#160;            {</div>
<div class="line"><a name="l00519"></a><span class="lineno">  519</span>&#160;                sb.Append(<span class="stringliteral">&quot; &quot;</span>);</div>
<div class="line"><a name="l00520"></a><span class="lineno">  520</span>&#160;                sb.Append(string.Join&lt;<a class="code" href="class_system_sharp_1_1_assembler_1_1_instruction_dependency.html">InstructionDependency</a>&gt;(<span class="stringliteral">&quot;, &quot;</span>, Preds));</div>
<div class="line"><a name="l00521"></a><span class="lineno">  521</span>&#160;            }</div>
<div class="line"><a name="l00522"></a><span class="lineno">  522</span>&#160;            <span class="keywordflow">if</span> (CILRef != null)</div>
<div class="line"><a name="l00523"></a><span class="lineno">  523</span>&#160;            {</div>
<div class="line"><a name="l00524"></a><span class="lineno">  524</span>&#160;                sb.Append(<span class="stringliteral">&quot; {&quot;</span>);</div>
<div class="line"><a name="l00525"></a><span class="lineno">  525</span>&#160;                sb.Append(CILRef.ToString());</div>
<div class="line"><a name="l00526"></a><span class="lineno">  526</span>&#160;                sb.Append(<span class="stringliteral">&quot;}&quot;</span>);</div>
<div class="line"><a name="l00527"></a><span class="lineno">  527</span>&#160;            }</div>
<div class="line"><a name="l00528"></a><span class="lineno">  528</span>&#160;            <span class="keywordflow">return</span> sb.ToString();</div>
<div class="line"><a name="l00529"></a><span class="lineno">  529</span>&#160;        }</div>
<div class="line"><a name="l00530"></a><span class="lineno">  530</span>&#160;</div>
<div class="line"><a name="l00531"></a><span class="lineno">  531</span>&#160;        <span class="keyword">private</span> <span class="keyword">class </span>CompareByContent : IEqualityComparer&lt;XILSInstr&gt;</div>
<div class="line"><a name="l00532"></a><span class="lineno">  532</span>&#160;        {</div>
<div class="line"><a name="l00533"></a><span class="lineno">  533</span>&#160;            <span class="keyword">public</span> <span class="keywordtype">bool</span> Equals(<a class="code" href="class_system_sharp_1_1_assembler_1_1_x_i_l_s_instr.html">XILSInstr</a> x, <a class="code" href="class_system_sharp_1_1_assembler_1_1_x_i_l_s_instr.html">XILSInstr</a> y)</div>
<div class="line"><a name="l00534"></a><span class="lineno">  534</span>&#160;            {</div>
<div class="line"><a name="l00535"></a><span class="lineno">  535</span>&#160;                <span class="keywordflow">return</span> x.Command.Equals(y.Command) &amp;&amp;</div>
<div class="line"><a name="l00536"></a><span class="lineno">  536</span>&#160;                    x.<a class="code" href="class_system_sharp_1_1_assembler_1_1_x_i_l_s_instr.html#a150187afdc70d69313ed664984ca65aa">OperandTypes</a>.SequenceEqual(y.<a class="code" href="class_system_sharp_1_1_assembler_1_1_x_i_l_s_instr.html#a150187afdc70d69313ed664984ca65aa">OperandTypes</a>) &amp;&amp;</div>
<div class="line"><a name="l00537"></a><span class="lineno">  537</span>&#160;                    x.ResultTypes.SequenceEqual(y.ResultTypes);</div>
<div class="line"><a name="l00538"></a><span class="lineno">  538</span>&#160;            }</div>
<div class="line"><a name="l00539"></a><span class="lineno">  539</span>&#160;</div>
<div class="line"><a name="l00540"></a><span class="lineno">  540</span>&#160;            <span class="keyword">public</span> <span class="keywordtype">int</span> GetHashCode(XILSInstr obj)</div>
<div class="line"><a name="l00541"></a><span class="lineno">  541</span>&#160;            {</div>
<div class="line"><a name="l00542"></a><span class="lineno">  542</span>&#160;                <span class="keywordtype">int</span> hash = obj.Command.GetHashCode();</div>
<div class="line"><a name="l00543"></a><span class="lineno">  543</span>&#160;                hash ^= obj.OperandTypes.GetSequenceHashCode();</div>
<div class="line"><a name="l00544"></a><span class="lineno">  544</span>&#160;                hash ^= obj.ResultTypes.GetSequenceHashCode();</div>
<div class="line"><a name="l00545"></a><span class="lineno">  545</span>&#160;                <span class="keywordflow">return</span> hash;</div>
<div class="line"><a name="l00546"></a><span class="lineno">  546</span>&#160;            }</div>
<div class="line"><a name="l00547"></a><span class="lineno">  547</span>&#160;        }</div>
<div class="line"><a name="l00548"></a><span class="lineno">  548</span>&#160;</div>
<div class="line"><a name="l00549"></a><span class="lineno">  549</span>&#160;        <span class="keyword">private</span> <span class="keyword">class </span>CompareByIndex : IEqualityComparer&lt;XILSInstr&gt;</div>
<div class="line"><a name="l00550"></a><span class="lineno">  550</span>&#160;        {</div>
<div class="line"><a name="l00551"></a><span class="lineno">  551</span>&#160;            <span class="keyword">public</span> <span class="keywordtype">bool</span> Equals(XILSInstr x, XILSInstr y)</div>
<div class="line"><a name="l00552"></a><span class="lineno">  552</span>&#160;            {</div>
<div class="line"><a name="l00553"></a><span class="lineno">  553</span>&#160;                <span class="keywordflow">return</span> x.Index == y.Index;</div>
<div class="line"><a name="l00554"></a><span class="lineno">  554</span>&#160;            }</div>
<div class="line"><a name="l00555"></a><span class="lineno">  555</span>&#160;</div>
<div class="line"><a name="l00556"></a><span class="lineno">  556</span>&#160;            <span class="keyword">public</span> <span class="keywordtype">int</span> GetHashCode(XILSInstr obj)</div>
<div class="line"><a name="l00557"></a><span class="lineno">  557</span>&#160;            {</div>
<div class="line"><a name="l00558"></a><span class="lineno">  558</span>&#160;                <span class="keywordflow">return</span> obj.Index;</div>
<div class="line"><a name="l00559"></a><span class="lineno">  559</span>&#160;            }</div>
<div class="line"><a name="l00560"></a><span class="lineno">  560</span>&#160;        }</div>
<div class="line"><a name="l00561"></a><span class="lineno">  561</span>&#160;</div>
<div class="line"><a name="l00565"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_assembler_1_1_x_i_l_s_instr.html#acb429557691fc9de0210e021c2ace374">  565</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">static</span> readonly IEqualityComparer&lt;XILSInstr&gt; ContentComparer = <span class="keyword">new</span> CompareByContent();</div>
<div class="line"><a name="l00566"></a><span class="lineno">  566</span>&#160;</div>
<div class="line"><a name="l00570"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_assembler_1_1_x_i_l_s_instr.html#a1603e8a67fb466dd524d8df82335997c">  570</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">static</span> readonly IEqualityComparer&lt;XILSInstr&gt; IndexComparer = <span class="keyword">new</span> CompareByIndex();</div>
<div class="line"><a name="l00571"></a><span class="lineno">  571</span>&#160;    }</div>
<div class="line"><a name="l00572"></a><span class="lineno">  572</span>&#160;</div>
<div class="line"><a name="l00580"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_assembler_1_1_branch_label.html">  580</a></span>&#160;    <span class="keyword">public</span> <span class="keyword">class </span><a class="code" href="class_system_sharp_1_1_assembler_1_1_branch_label.html">BranchLabel</a></div>
<div class="line"><a name="l00581"></a><span class="lineno">  581</span>&#160;    {</div>
<div class="line"><a name="l00582"></a><span class="lineno">  582</span>&#160;        <span class="keyword">private</span> <span class="keywordtype">int</span> _instructionIndex;</div>
<div class="line"><a name="l00583"></a><span class="lineno">  583</span>&#160;</div>
<div class="line"><a name="l00587"></a><span class="lineno">  587</span>&#160;        <span class="keyword">public</span> <span class="keywordtype">int</span> InstructionIndex </div>
<div class="line"><a name="l00588"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_assembler_1_1_branch_label.html#af5dd8246c65151b66488c1574066d623">  588</a></span>&#160;        {</div>
<div class="line"><a name="l00589"></a><span class="lineno">  589</span>&#160;            <span class="keyword">get</span> { <span class="keywordflow">return</span> _instructionIndex; }</div>
<div class="line"><a name="l00590"></a><span class="lineno">  590</span>&#160;            set</div>
<div class="line"><a name="l00591"></a><span class="lineno">  591</span>&#160;            {</div>
<div class="line"><a name="l00592"></a><span class="lineno">  592</span>&#160;                Contract.Requires(value &gt;= 0);</div>
<div class="line"><a name="l00593"></a><span class="lineno">  593</span>&#160;                _instructionIndex = value;</div>
<div class="line"><a name="l00594"></a><span class="lineno">  594</span>&#160;            }</div>
<div class="line"><a name="l00595"></a><span class="lineno">  595</span>&#160;        }</div>
<div class="line"><a name="l00596"></a><span class="lineno">  596</span>&#160;</div>
<div class="line"><a name="l00600"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_assembler_1_1_branch_label.html#a3f735890c728146ed939c9934800dc8d">  600</a></span>&#160;        <span class="keyword">public</span> <span class="keywordtype">int</span> CStep { <span class="keyword">get</span>; <span class="keyword">internal</span> set; }</div>
<div class="line"><a name="l00601"></a><span class="lineno">  601</span>&#160;</div>
<div class="line"><a name="l00605"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_assembler_1_1_branch_label.html#a113d2a1c4a7a7f97d13c31c025d7acf8">  605</a></span>&#160;        <span class="keyword">public</span> <a class="code" href="class_system_sharp_1_1_assembler_1_1_branch_label.html#a113d2a1c4a7a7f97d13c31c025d7acf8">BranchLabel</a>()</div>
<div class="line"><a name="l00606"></a><span class="lineno">  606</span>&#160;        {</div>
<div class="line"><a name="l00607"></a><span class="lineno">  607</span>&#160;            _instructionIndex = -1;</div>
<div class="line"><a name="l00608"></a><span class="lineno">  608</span>&#160;            CStep = -1;</div>
<div class="line"><a name="l00609"></a><span class="lineno">  609</span>&#160;        }</div>
<div class="line"><a name="l00610"></a><span class="lineno">  610</span>&#160;</div>
<div class="line"><a name="l00611"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_assembler_1_1_branch_label.html#a6ded81806044f1d02ae4d6e64b62b0b1">  611</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">override</span> <span class="keywordtype">string</span> <a class="code" href="class_system_sharp_1_1_assembler_1_1_branch_label.html#a6ded81806044f1d02ae4d6e64b62b0b1">ToString</a>()</div>
<div class="line"><a name="l00612"></a><span class="lineno">  612</span>&#160;        {</div>
<div class="line"><a name="l00613"></a><span class="lineno">  613</span>&#160;            StringBuilder sb = <span class="keyword">new</span> StringBuilder();</div>
<div class="line"><a name="l00614"></a><span class="lineno">  614</span>&#160;            sb.Append(InstructionIndex);</div>
<div class="line"><a name="l00615"></a><span class="lineno">  615</span>&#160;            <span class="keywordflow">if</span> (CStep &gt;= 0)</div>
<div class="line"><a name="l00616"></a><span class="lineno">  616</span>&#160;            {</div>
<div class="line"><a name="l00617"></a><span class="lineno">  617</span>&#160;                sb.AppendFormat(<span class="stringliteral">&quot; cstep:{0}&quot;</span>, CStep);</div>
<div class="line"><a name="l00618"></a><span class="lineno">  618</span>&#160;            }</div>
<div class="line"><a name="l00619"></a><span class="lineno">  619</span>&#160;            <span class="keywordflow">return</span> sb.ToString();</div>
<div class="line"><a name="l00620"></a><span class="lineno">  620</span>&#160;        }</div>
<div class="line"><a name="l00621"></a><span class="lineno">  621</span>&#160;</div>
<div class="line"><a name="l00622"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_assembler_1_1_branch_label.html#a7dffa7ac42db32bae7e15a8254c139a2">  622</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">override</span> <span class="keywordtype">bool</span> <a class="code" href="class_system_sharp_1_1_assembler_1_1_branch_label.html#a7dffa7ac42db32bae7e15a8254c139a2">Equals</a>(<span class="keywordtype">object</span> obj)</div>
<div class="line"><a name="l00623"></a><span class="lineno">  623</span>&#160;        {</div>
<div class="line"><a name="l00624"></a><span class="lineno">  624</span>&#160;            <span class="keywordflow">if</span> (obj is <a class="code" href="class_system_sharp_1_1_assembler_1_1_branch_label.html">BranchLabel</a>)</div>
<div class="line"><a name="l00625"></a><span class="lineno">  625</span>&#160;            {</div>
<div class="line"><a name="l00626"></a><span class="lineno">  626</span>&#160;                BranchLabel other = (BranchLabel)obj;</div>
<div class="line"><a name="l00627"></a><span class="lineno">  627</span>&#160;                <span class="keywordflow">return</span> InstructionIndex == other.InstructionIndex;</div>
<div class="line"><a name="l00628"></a><span class="lineno">  628</span>&#160;            }</div>
<div class="line"><a name="l00629"></a><span class="lineno">  629</span>&#160;            <span class="keywordflow">else</span></div>
<div class="line"><a name="l00630"></a><span class="lineno">  630</span>&#160;            {</div>
<div class="line"><a name="l00631"></a><span class="lineno">  631</span>&#160;                <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
<div class="line"><a name="l00632"></a><span class="lineno">  632</span>&#160;            }</div>
<div class="line"><a name="l00633"></a><span class="lineno">  633</span>&#160;        }</div>
<div class="line"><a name="l00634"></a><span class="lineno">  634</span>&#160;</div>
<div class="line"><a name="l00635"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_assembler_1_1_branch_label.html#acf968f7765a3b107d7320d0e4fe85706">  635</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">override</span> <span class="keywordtype">int</span> <a class="code" href="class_system_sharp_1_1_assembler_1_1_branch_label.html#acf968f7765a3b107d7320d0e4fe85706">GetHashCode</a>()</div>
<div class="line"><a name="l00636"></a><span class="lineno">  636</span>&#160;        {</div>
<div class="line"><a name="l00637"></a><span class="lineno">  637</span>&#160;            <span class="keywordflow">return</span> InstructionIndex.GetHashCode();</div>
<div class="line"><a name="l00638"></a><span class="lineno">  638</span>&#160;        }</div>
<div class="line"><a name="l00639"></a><span class="lineno">  639</span>&#160;    }</div>
<div class="line"><a name="l00640"></a><span class="lineno">  640</span>&#160;</div>
<div class="line"><a name="l00644"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_assembler_1_1_x_i_l3_function.html">  644</a></span>&#160;    <span class="keyword">public</span> <span class="keyword">class </span><a class="code" href="class_system_sharp_1_1_assembler_1_1_x_i_l3_function.html">XIL3Function</a> : <a class="code" href="interface_system_sharp_1_1_sys_d_o_m_1_1_i_callable.html">ICallable</a></div>
<div class="line"><a name="l00645"></a><span class="lineno">  645</span>&#160;    {</div>
<div class="line"><a name="l00654"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_assembler_1_1_x_i_l3_function.html#a21f2662d4bcae108fb1d402fecddae22">  654</a></span>&#160;        <span class="keyword">public</span> <a class="code" href="class_system_sharp_1_1_assembler_1_1_x_i_l3_function.html#a21f2662d4bcae108fb1d402fecddae22">XIL3Function</a>(<span class="keywordtype">string</span> name, <a class="code" href="class_system_sharp_1_1_meta_1_1_argument_descriptor.html">ArgumentDescriptor</a>[] args, <a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_variable.html">Variable</a>[] locals, </div>
<div class="line"><a name="l00655"></a><span class="lineno">  655</span>&#160;            <a class="code" href="class_system_sharp_1_1_assembler_1_1_x_i_l3_instr.html">XIL3Instr</a>[] instrs, <a class="code" href="class_system_sharp_1_1_meta_1_1_type_descriptor.html">TypeDescriptor</a>[] slotTypes)</div>
<div class="line"><a name="l00656"></a><span class="lineno">  656</span>&#160;        {</div>
<div class="line"><a name="l00657"></a><span class="lineno">  657</span>&#160;            Contract.Requires(args != null &amp;&amp; args.All(a =&gt; a != null) &amp;&amp;</div>
<div class="line"><a name="l00658"></a><span class="lineno">  658</span>&#160;                locals != null &amp;&amp; locals.All(l =&gt; l != null) &amp;&amp;</div>
<div class="line"><a name="l00659"></a><span class="lineno">  659</span>&#160;                instrs != null &amp;&amp; instrs.All(i =&gt; i != null) &amp;&amp;</div>
<div class="line"><a name="l00660"></a><span class="lineno">  660</span>&#160;                slotTypes != null &amp;&amp; slotTypes.All(t =&gt; t != null));</div>
<div class="line"><a name="l00661"></a><span class="lineno">  661</span>&#160;</div>
<div class="line"><a name="l00662"></a><span class="lineno">  662</span>&#160;            Name = name;</div>
<div class="line"><a name="l00663"></a><span class="lineno">  663</span>&#160;            Arguments = args;</div>
<div class="line"><a name="l00664"></a><span class="lineno">  664</span>&#160;            Locals = locals;</div>
<div class="line"><a name="l00665"></a><span class="lineno">  665</span>&#160;            Instructions = instrs;</div>
<div class="line"><a name="l00666"></a><span class="lineno">  666</span>&#160;            SlotTypes = slotTypes;</div>
<div class="line"><a name="l00667"></a><span class="lineno">  667</span>&#160;        }</div>
<div class="line"><a name="l00668"></a><span class="lineno">  668</span>&#160;</div>
<div class="line"><a name="l00672"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_assembler_1_1_x_i_l3_function.html#ad2730f35e209af24293d8ff77d4ae11e">  672</a></span>&#160;        <span class="keyword">public</span> <a class="code" href="class_system_sharp_1_1_meta_1_1_argument_descriptor.html">ArgumentDescriptor</a>[] Arguments { <span class="keyword">get</span>; <span class="keyword">private</span> set; }</div>
<div class="line"><a name="l00673"></a><span class="lineno">  673</span>&#160;</div>
<div class="line"><a name="l00677"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_assembler_1_1_x_i_l3_function.html#a9f884d5398e9bc9a60dbd0f74e2ac5fc">  677</a></span>&#160;        <span class="keyword">public</span> <a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_variable.html">Variable</a>[] Locals { <span class="keyword">get</span>; <span class="keyword">private</span> set; }</div>
<div class="line"><a name="l00678"></a><span class="lineno">  678</span>&#160;</div>
<div class="line"><a name="l00682"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_assembler_1_1_x_i_l3_function.html#ad77041f3c136fb12bb3636bec54885d8">  682</a></span>&#160;        <span class="keyword">public</span> <a class="code" href="class_system_sharp_1_1_assembler_1_1_x_i_l3_instr.html">XIL3Instr</a>[] Instructions { <span class="keyword">get</span>; <span class="keyword">private</span> set; }</div>
<div class="line"><a name="l00683"></a><span class="lineno">  683</span>&#160;</div>
<div class="line"><a name="l00687"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_assembler_1_1_x_i_l3_function.html#a985697dac7e8c39b1e0390e0d222aa92">  687</a></span>&#160;        <span class="keyword">public</span> <a class="code" href="class_system_sharp_1_1_meta_1_1_type_descriptor.html">TypeDescriptor</a>[] SlotTypes { <span class="keyword">get</span>; <span class="keyword">private</span> set; }</div>
<div class="line"><a name="l00688"></a><span class="lineno">  688</span>&#160;</div>
<div class="line"><a name="l00692"></a><span class="lineno">  692</span>&#160;        <span class="keyword">public</span> <span class="keywordtype">int</span> NumSlots</div>
<div class="line"><a name="l00693"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_assembler_1_1_x_i_l3_function.html#a6742633ad4e20fbbdc1a4f77e0de48d4">  693</a></span>&#160;        {</div>
<div class="line"><a name="l00694"></a><span class="lineno">  694</span>&#160;            <span class="keyword">get</span> { <span class="keywordflow">return</span> SlotTypes.Length; }</div>
<div class="line"><a name="l00695"></a><span class="lineno">  695</span>&#160;        }</div>
<div class="line"><a name="l00696"></a><span class="lineno">  696</span>&#160;</div>
<div class="line"><a name="l00697"></a><span class="lineno">  697</span>&#160;<span class="preprocessor">        #region ICallable Member</span></div>
<div class="line"><a name="l00698"></a><span class="lineno">  698</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00699"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_assembler_1_1_x_i_l3_function.html#a6fbd4d59926ba90e2a50c76839eb1d06">  699</a></span>&#160;        <span class="keyword">public</span> <span class="keywordtype">string</span> Name { <span class="keyword">get</span>; <span class="keyword">private</span> set; }</div>
<div class="line"><a name="l00700"></a><span class="lineno">  700</span>&#160;</div>
<div class="line"><a name="l00701"></a><span class="lineno">  701</span>&#160;<span class="preprocessor">        #endregion</span></div>
<div class="line"><a name="l00702"></a><span class="lineno">  702</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00703"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_assembler_1_1_x_i_l3_function.html#a8ad0bea38cb5202e5a5d612991031ce4">  703</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">override</span> <span class="keywordtype">string</span> <a class="code" href="class_system_sharp_1_1_assembler_1_1_x_i_l3_function.html#a8ad0bea38cb5202e5a5d612991031ce4">ToString</a>()</div>
<div class="line"><a name="l00704"></a><span class="lineno">  704</span>&#160;        {</div>
<div class="line"><a name="l00705"></a><span class="lineno">  705</span>&#160;            StringBuilder sb = <span class="keyword">new</span> StringBuilder();</div>
<div class="line"><a name="l00706"></a><span class="lineno">  706</span>&#160;            sb.Append(<span class="stringliteral">&quot;xil3:&quot;</span> + Name + <span class="stringliteral">&quot;(&quot;</span>);</div>
<div class="line"><a name="l00707"></a><span class="lineno">  707</span>&#160;            sb.Append(string.Join&lt;<a class="code" href="class_system_sharp_1_1_meta_1_1_argument_descriptor.html">ArgumentDescriptor</a>&gt;(<span class="stringliteral">&quot;, &quot;</span>, Arguments));</div>
<div class="line"><a name="l00708"></a><span class="lineno">  708</span>&#160;            sb.AppendLine(<span class="stringliteral">&quot;)&quot;</span>);</div>
<div class="line"><a name="l00709"></a><span class="lineno">  709</span>&#160;            sb.AppendLine(<span class="stringliteral">&quot;{&quot;</span>);</div>
<div class="line"><a name="l00710"></a><span class="lineno">  710</span>&#160;            <span class="keywordflow">foreach</span> (<a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_variable.html">Variable</a> local <span class="keywordflow">in</span> Locals)</div>
<div class="line"><a name="l00711"></a><span class="lineno">  711</span>&#160;            {</div>
<div class="line"><a name="l00712"></a><span class="lineno">  712</span>&#160;                sb.Append(<span class="stringliteral">&quot;  &quot;</span> + local.Type + <span class="stringliteral">&quot; &quot;</span> + local.Name);</div>
<div class="line"><a name="l00713"></a><span class="lineno">  713</span>&#160;            }</div>
<div class="line"><a name="l00714"></a><span class="lineno">  714</span>&#160;            sb.AppendLine();</div>
<div class="line"><a name="l00715"></a><span class="lineno">  715</span>&#160;            sb.AppendLine(NumSlots + <span class="stringliteral">&quot; slots&quot;</span>);</div>
<div class="line"><a name="l00716"></a><span class="lineno">  716</span>&#160;            <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; NumSlots; i++)</div>
<div class="line"><a name="l00717"></a><span class="lineno">  717</span>&#160;            {</div>
<div class="line"><a name="l00718"></a><span class="lineno">  718</span>&#160;                sb.AppendLine(i + <span class="stringliteral">&quot;: &quot;</span> + SlotTypes[i].ToString());</div>
<div class="line"><a name="l00719"></a><span class="lineno">  719</span>&#160;            }</div>
<div class="line"><a name="l00720"></a><span class="lineno">  720</span>&#160;            sb.AppendLine();</div>
<div class="line"><a name="l00721"></a><span class="lineno">  721</span>&#160;            <span class="keywordtype">string</span> fmt = <span class="stringliteral">&quot;D&quot;</span> + ((Instructions.Length - 1).ToString()).Length.ToString();</div>
<div class="line"><a name="l00722"></a><span class="lineno">  722</span>&#160;            <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; Instructions.Length; i++)</div>
<div class="line"><a name="l00723"></a><span class="lineno">  723</span>&#160;            {</div>
<div class="line"><a name="l00724"></a><span class="lineno">  724</span>&#160;                sb.Append(i.ToString(fmt) + <span class="stringliteral">&quot;: &quot;</span>);</div>
<div class="line"><a name="l00725"></a><span class="lineno">  725</span>&#160;                var instr = Instructions[i];</div>
<div class="line"><a name="l00726"></a><span class="lineno">  726</span>&#160;                sb.AppendLine(instr.ToString());</div>
<div class="line"><a name="l00727"></a><span class="lineno">  727</span>&#160;            }</div>
<div class="line"><a name="l00728"></a><span class="lineno">  728</span>&#160;            sb.AppendLine(<span class="stringliteral">&quot;}&quot;</span>);</div>
<div class="line"><a name="l00729"></a><span class="lineno">  729</span>&#160;            sb.AppendLine(<span class="stringliteral">&quot;Assignment list:&quot;</span>);</div>
<div class="line"><a name="l00730"></a><span class="lineno">  730</span>&#160;            sb.AppendLine(<span class="stringliteral">&quot;{&quot;</span>);</div>
<div class="line"><a name="l00731"></a><span class="lineno">  731</span>&#160;            <span class="keywordtype">string</span>[] exprs = <span class="keyword">new</span> <span class="keywordtype">string</span>[NumSlots];</div>
<div class="line"><a name="l00732"></a><span class="lineno">  732</span>&#160;            <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; Instructions.Length; i++)</div>
<div class="line"><a name="l00733"></a><span class="lineno">  733</span>&#160;            {</div>
<div class="line"><a name="l00734"></a><span class="lineno">  734</span>&#160;                var instr = Instructions[i];</div>
<div class="line"><a name="l00735"></a><span class="lineno">  735</span>&#160;</div>
<div class="line"><a name="l00736"></a><span class="lineno">  736</span>&#160;                <span class="keywordflow">switch</span> (instr.Name)</div>
<div class="line"><a name="l00737"></a><span class="lineno">  737</span>&#160;                {</div>
<div class="line"><a name="l00738"></a><span class="lineno">  738</span>&#160;                    <span class="keywordflow">case</span> InstructionCodes.LdConst:</div>
<div class="line"><a name="l00739"></a><span class="lineno">  739</span>&#160;                        exprs[instr.ResultSlots[0]] = instr.StaticOperand.ToString();</div>
<div class="line"><a name="l00740"></a><span class="lineno">  740</span>&#160;                        <span class="keywordflow">continue</span>;</div>
<div class="line"><a name="l00741"></a><span class="lineno">  741</span>&#160;</div>
<div class="line"><a name="l00742"></a><span class="lineno">  742</span>&#160;                    <span class="keywordflow">case</span> InstructionCodes.Convert:</div>
<div class="line"><a name="l00743"></a><span class="lineno">  743</span>&#160;                        exprs[instr.ResultSlots[0]] = exprs[instr.OperandSlots[0]];</div>
<div class="line"><a name="l00744"></a><span class="lineno">  744</span>&#160;                        <span class="keywordflow">continue</span>;</div>
<div class="line"><a name="l00745"></a><span class="lineno">  745</span>&#160;</div>
<div class="line"><a name="l00746"></a><span class="lineno">  746</span>&#160;                    <span class="keywordflow">case</span> InstructionCodes.Add:</div>
<div class="line"><a name="l00747"></a><span class="lineno">  747</span>&#160;                        exprs[instr.ResultSlots[0]] = <span class="stringliteral">&quot;(&quot;</span> + exprs[instr.OperandSlots[0]] + <span class="stringliteral">&quot;) + (&quot;</span> + exprs[instr.OperandSlots[1]] + <span class="stringliteral">&quot;)&quot;</span>;</div>
<div class="line"><a name="l00748"></a><span class="lineno">  748</span>&#160;                        <span class="keywordflow">continue</span>;</div>
<div class="line"><a name="l00749"></a><span class="lineno">  749</span>&#160;</div>
<div class="line"><a name="l00750"></a><span class="lineno">  750</span>&#160;                    <span class="keywordflow">case</span> InstructionCodes.Sub:</div>
<div class="line"><a name="l00751"></a><span class="lineno">  751</span>&#160;                        exprs[instr.ResultSlots[0]] = <span class="stringliteral">&quot;(&quot;</span> + exprs[instr.OperandSlots[0]] + <span class="stringliteral">&quot;) - (&quot;</span> + exprs[instr.OperandSlots[1]] + <span class="stringliteral">&quot;)&quot;</span>;</div>
<div class="line"><a name="l00752"></a><span class="lineno">  752</span>&#160;                        <span class="keywordflow">continue</span>;</div>
<div class="line"><a name="l00753"></a><span class="lineno">  753</span>&#160;</div>
<div class="line"><a name="l00754"></a><span class="lineno">  754</span>&#160;                    <span class="keywordflow">case</span> InstructionCodes.Mul:</div>
<div class="line"><a name="l00755"></a><span class="lineno">  755</span>&#160;                        exprs[instr.ResultSlots[0]] = <span class="stringliteral">&quot;(&quot;</span> + exprs[instr.OperandSlots[0]] + <span class="stringliteral">&quot;) * (&quot;</span> + exprs[instr.OperandSlots[1]] + <span class="stringliteral">&quot;)&quot;</span>;</div>
<div class="line"><a name="l00756"></a><span class="lineno">  756</span>&#160;                        <span class="keywordflow">continue</span>;</div>
<div class="line"><a name="l00757"></a><span class="lineno">  757</span>&#160;</div>
<div class="line"><a name="l00758"></a><span class="lineno">  758</span>&#160;                    <span class="keywordflow">case</span> InstructionCodes.Div:</div>
<div class="line"><a name="l00759"></a><span class="lineno">  759</span>&#160;                        exprs[instr.ResultSlots[0]] = <span class="stringliteral">&quot;(&quot;</span> + exprs[instr.OperandSlots[0]] + <span class="stringliteral">&quot;) / (&quot;</span> + exprs[instr.OperandSlots[1]] + <span class="stringliteral">&quot;)&quot;</span>;</div>
<div class="line"><a name="l00760"></a><span class="lineno">  760</span>&#160;                        <span class="keywordflow">continue</span>;</div>
<div class="line"><a name="l00761"></a><span class="lineno">  761</span>&#160;                }</div>
<div class="line"><a name="l00762"></a><span class="lineno">  762</span>&#160;</div>
<div class="line"><a name="l00763"></a><span class="lineno">  763</span>&#160;                <span class="keywordtype">string</span> expr = instr.Name;</div>
<div class="line"><a name="l00764"></a><span class="lineno">  764</span>&#160;                <span class="keywordflow">if</span> (instr.StaticOperand != null)</div>
<div class="line"><a name="l00765"></a><span class="lineno">  765</span>&#160;                {</div>
<div class="line"><a name="l00766"></a><span class="lineno">  766</span>&#160;                    expr += <span class="stringliteral">&quot;&lt;&quot;</span>;</div>
<div class="line"><a name="l00767"></a><span class="lineno">  767</span>&#160;                    expr += instr.StaticOperand.ToString();</div>
<div class="line"><a name="l00768"></a><span class="lineno">  768</span>&#160;                    expr += <span class="stringliteral">&quot;&gt;&quot;</span>;</div>
<div class="line"><a name="l00769"></a><span class="lineno">  769</span>&#160;                }</div>
<div class="line"><a name="l00770"></a><span class="lineno">  770</span>&#160;                <span class="keywordflow">if</span> (instr.OperandSlots.Length &gt; 0)</div>
<div class="line"><a name="l00771"></a><span class="lineno">  771</span>&#160;                {</div>
<div class="line"><a name="l00772"></a><span class="lineno">  772</span>&#160;                    expr += <span class="stringliteral">&quot;(&quot;</span>;</div>
<div class="line"><a name="l00773"></a><span class="lineno">  773</span>&#160;                    <span class="keywordtype">string</span> args = string.Join(<span class="stringliteral">&quot;, &quot;</span>, instr.OperandSlots.Select(os =&gt; exprs[os]));</div>
<div class="line"><a name="l00774"></a><span class="lineno">  774</span>&#160;                    expr += args;</div>
<div class="line"><a name="l00775"></a><span class="lineno">  775</span>&#160;                    expr += <span class="stringliteral">&quot;)&quot;</span>;</div>
<div class="line"><a name="l00776"></a><span class="lineno">  776</span>&#160;                }</div>
<div class="line"><a name="l00777"></a><span class="lineno">  777</span>&#160;                <span class="keywordflow">if</span> (instr.ResultSlots.Length == 0)</div>
<div class="line"><a name="l00778"></a><span class="lineno">  778</span>&#160;                {</div>
<div class="line"><a name="l00779"></a><span class="lineno">  779</span>&#160;                    sb.AppendLine(<span class="stringliteral">&quot;  &quot;</span> + expr);</div>
<div class="line"><a name="l00780"></a><span class="lineno">  780</span>&#160;                }</div>
<div class="line"><a name="l00781"></a><span class="lineno">  781</span>&#160;                <span class="keywordflow">else</span> <span class="keywordflow">if</span> (instr.ResultSlots.Length == 1)</div>
<div class="line"><a name="l00782"></a><span class="lineno">  782</span>&#160;                {</div>
<div class="line"><a name="l00783"></a><span class="lineno">  783</span>&#160;                    exprs[instr.ResultSlots[0]] = expr;</div>
<div class="line"><a name="l00784"></a><span class="lineno">  784</span>&#160;                }</div>
<div class="line"><a name="l00785"></a><span class="lineno">  785</span>&#160;                <span class="keywordflow">else</span></div>
<div class="line"><a name="l00786"></a><span class="lineno">  786</span>&#160;                {</div>
<div class="line"><a name="l00787"></a><span class="lineno">  787</span>&#160;                    <span class="keywordflow">foreach</span> (<span class="keywordtype">int</span> rs <span class="keywordflow">in</span> instr.ResultSlots)</div>
<div class="line"><a name="l00788"></a><span class="lineno">  788</span>&#160;                        exprs[rs] = expr + <span class="stringliteral">&quot;[&quot;</span> + rs + <span class="stringliteral">&quot;]&quot;</span>;</div>
<div class="line"><a name="l00789"></a><span class="lineno">  789</span>&#160;                }</div>
<div class="line"><a name="l00790"></a><span class="lineno">  790</span>&#160;            }</div>
<div class="line"><a name="l00791"></a><span class="lineno">  791</span>&#160;            sb.AppendLine(<span class="stringliteral">&quot;}&quot;</span>);</div>
<div class="line"><a name="l00792"></a><span class="lineno">  792</span>&#160;            <span class="keywordflow">return</span> sb.ToString();</div>
<div class="line"><a name="l00793"></a><span class="lineno">  793</span>&#160;        }</div>
<div class="line"><a name="l00794"></a><span class="lineno">  794</span>&#160;</div>
<div class="line"><a name="l00800"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_assembler_1_1_x_i_l3_function.html#a20ef6b3ae6f76aef856baef96dc40470">  800</a></span>&#160;        <span class="keyword">public</span> <a class="code" href="class_system_sharp_1_1_meta_1_1_type_descriptor.html">TypeDescriptor</a>[] <a class="code" href="class_system_sharp_1_1_assembler_1_1_x_i_l3_function.html#a20ef6b3ae6f76aef856baef96dc40470">GetSlotTypes</a>(<span class="keywordtype">int</span>[] slots)</div>
<div class="line"><a name="l00801"></a><span class="lineno">  801</span>&#160;        {</div>
<div class="line"><a name="l00802"></a><span class="lineno">  802</span>&#160;            <span class="keywordflow">return</span> slots.Select(i =&gt; SlotTypes[i]).ToArray();</div>
<div class="line"><a name="l00803"></a><span class="lineno">  803</span>&#160;        }</div>
<div class="line"><a name="l00804"></a><span class="lineno">  804</span>&#160;</div>
<div class="line"><a name="l00809"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_assembler_1_1_x_i_l3_function.html#a1e8cbcd6a9d8385c3598e9dd37e956b7">  809</a></span>&#160;        <span class="keyword">public</span> <span class="keywordtype">int</span>[] <a class="code" href="class_system_sharp_1_1_assembler_1_1_x_i_l3_function.html#a1e8cbcd6a9d8385c3598e9dd37e956b7">GetBasicBlockBoundaries</a>()</div>
<div class="line"><a name="l00810"></a><span class="lineno">  810</span>&#160;        {</div>
<div class="line"><a name="l00811"></a><span class="lineno">  811</span>&#160;            HashSet&lt;int&gt; bbs = <span class="keyword">new</span> HashSet&lt;int&gt;();</div>
<div class="line"><a name="l00812"></a><span class="lineno">  812</span>&#160;            bbs.Add(0);</div>
<div class="line"><a name="l00813"></a><span class="lineno">  813</span>&#160;            <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; Instructions.Length; i++)</div>
<div class="line"><a name="l00814"></a><span class="lineno">  814</span>&#160;            {</div>
<div class="line"><a name="l00815"></a><span class="lineno">  815</span>&#160;                <a class="code" href="class_system_sharp_1_1_assembler_1_1_x_i_l3_instr.html">XIL3Instr</a> xil3i = Instructions[i];</div>
<div class="line"><a name="l00816"></a><span class="lineno">  816</span>&#160;                <span class="keywordflow">switch</span> (xil3i.<a class="code" href="class_system_sharp_1_1_assembler_1_1_x_i_l3_instr.html#ab8cd605fc1b82442d7dab4885bc231ca">Name</a>)</div>
<div class="line"><a name="l00817"></a><span class="lineno">  817</span>&#160;                {</div>
<div class="line"><a name="l00818"></a><span class="lineno">  818</span>&#160;                    <span class="keywordflow">case</span> InstructionCodes.BranchIfFalse:</div>
<div class="line"><a name="l00819"></a><span class="lineno">  819</span>&#160;                    <span class="keywordflow">case</span> InstructionCodes.BranchIfTrue:</div>
<div class="line"><a name="l00820"></a><span class="lineno">  820</span>&#160;                    <span class="keywordflow">case</span> InstructionCodes.Goto:</div>
<div class="line"><a name="l00821"></a><span class="lineno">  821</span>&#160;                        {</div>
<div class="line"><a name="l00822"></a><span class="lineno">  822</span>&#160;                            <a class="code" href="class_system_sharp_1_1_assembler_1_1_branch_label.html">BranchLabel</a> target = (<a class="code" href="class_system_sharp_1_1_assembler_1_1_branch_label.html">BranchLabel</a>)xil3i.<a class="code" href="class_system_sharp_1_1_assembler_1_1_x_i_l3_instr.html#a55330e8f2ddc40d951123d8dc979c14a">StaticOperand</a>;</div>
<div class="line"><a name="l00823"></a><span class="lineno">  823</span>&#160;                            bbs.Add(target.<a class="code" href="class_system_sharp_1_1_assembler_1_1_branch_label.html#af5dd8246c65151b66488c1574066d623">InstructionIndex</a>);</div>
<div class="line"><a name="l00824"></a><span class="lineno">  824</span>&#160;                            bbs.Add(i + 1);</div>
<div class="line"><a name="l00825"></a><span class="lineno">  825</span>&#160;                        }</div>
<div class="line"><a name="l00826"></a><span class="lineno">  826</span>&#160;                        <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00827"></a><span class="lineno">  827</span>&#160;</div>
<div class="line"><a name="l00828"></a><span class="lineno">  828</span>&#160;                    <span class="keywordflow">default</span>:</div>
<div class="line"><a name="l00829"></a><span class="lineno">  829</span>&#160;                        <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00830"></a><span class="lineno">  830</span>&#160;                }</div>
<div class="line"><a name="l00831"></a><span class="lineno">  831</span>&#160;            }</div>
<div class="line"><a name="l00832"></a><span class="lineno">  832</span>&#160;            <span class="keywordflow">return</span> bbs.OrderBy(i =&gt; i).ToArray();</div>
<div class="line"><a name="l00833"></a><span class="lineno">  833</span>&#160;        }</div>
<div class="line"><a name="l00834"></a><span class="lineno">  834</span>&#160;</div>
<div class="line"><a name="l00838"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_assembler_1_1_x_i_l3_function.html#a1ef6cd886a59118049b9852faa63a244">  838</a></span>&#160;        <span class="keyword">public</span> <span class="keywordtype">void</span> <a class="code" href="class_system_sharp_1_1_assembler_1_1_x_i_l3_function.html#a1ef6cd886a59118049b9852faa63a244">SanityCheck</a>()</div>
<div class="line"><a name="l00839"></a><span class="lineno">  839</span>&#160;        {</div>
<div class="line"><a name="l00840"></a><span class="lineno">  840</span>&#160;            <span class="keywordflow">foreach</span> (var xil3i <span class="keywordflow">in</span> Instructions)</div>
<div class="line"><a name="l00841"></a><span class="lineno">  841</span>&#160;            {</div>
<div class="line"><a name="l00842"></a><span class="lineno">  842</span>&#160;                <span class="keywordflow">switch</span> (xil3i.Command.Name)</div>
<div class="line"><a name="l00843"></a><span class="lineno">  843</span>&#160;                {</div>
<div class="line"><a name="l00844"></a><span class="lineno">  844</span>&#160;                    <span class="keywordflow">case</span> InstructionCodes.StoreVar:</div>
<div class="line"><a name="l00845"></a><span class="lineno">  845</span>&#160;                        {</div>
<div class="line"><a name="l00846"></a><span class="lineno">  846</span>&#160;                            var local = xil3i.StaticOperand as <a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_variable.html">Variable</a>;</div>
<div class="line"><a name="l00847"></a><span class="lineno">  847</span>&#160;                            <span class="keywordflow">if</span> (local != null)</div>
<div class="line"><a name="l00848"></a><span class="lineno">  848</span>&#160;                            {</div>
<div class="line"><a name="l00849"></a><span class="lineno">  849</span>&#160;                                Debug.Assert(Locals.Contains(local));</div>
<div class="line"><a name="l00850"></a><span class="lineno">  850</span>&#160;                            }</div>
<div class="line"><a name="l00851"></a><span class="lineno">  851</span>&#160;                        }</div>
<div class="line"><a name="l00852"></a><span class="lineno">  852</span>&#160;                        <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00853"></a><span class="lineno">  853</span>&#160;                }</div>
<div class="line"><a name="l00854"></a><span class="lineno">  854</span>&#160;            }</div>
<div class="line"><a name="l00855"></a><span class="lineno">  855</span>&#160;        }</div>
<div class="line"><a name="l00856"></a><span class="lineno">  856</span>&#160;    }</div>
<div class="line"><a name="l00857"></a><span class="lineno">  857</span>&#160;</div>
<div class="line"><a name="l00861"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_assembler_1_1_x_i_l_s_function.html">  861</a></span>&#160;    <span class="keyword">public</span> <span class="keyword">class </span><a class="code" href="class_system_sharp_1_1_assembler_1_1_x_i_l_s_function.html">XILSFunction</a> : <a class="code" href="interface_system_sharp_1_1_sys_d_o_m_1_1_i_callable.html">ICallable</a></div>
<div class="line"><a name="l00862"></a><span class="lineno">  862</span>&#160;    {</div>
<div class="line"><a name="l00870"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_assembler_1_1_x_i_l_s_function.html#ae28df527c2876cda174646456ea4af85">  870</a></span>&#160;        <span class="keyword">public</span> <a class="code" href="class_system_sharp_1_1_assembler_1_1_x_i_l_s_function.html#ae28df527c2876cda174646456ea4af85">XILSFunction</a>(<span class="keywordtype">string</span> name, <a class="code" href="class_system_sharp_1_1_meta_1_1_argument_descriptor.html">ArgumentDescriptor</a>[] args, <a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_variable.html">Variable</a>[] locals, <a class="code" href="class_system_sharp_1_1_assembler_1_1_x_i_l_s_instr.html">XILSInstr</a>[] instrs)</div>
<div class="line"><a name="l00871"></a><span class="lineno">  871</span>&#160;        {</div>
<div class="line"><a name="l00872"></a><span class="lineno">  872</span>&#160;            Name = name;</div>
<div class="line"><a name="l00873"></a><span class="lineno">  873</span>&#160;            Arguments = args;</div>
<div class="line"><a name="l00874"></a><span class="lineno">  874</span>&#160;            Locals = locals;</div>
<div class="line"><a name="l00875"></a><span class="lineno">  875</span>&#160;            Instructions = instrs;</div>
<div class="line"><a name="l00876"></a><span class="lineno">  876</span>&#160;        }</div>
<div class="line"><a name="l00877"></a><span class="lineno">  877</span>&#160;</div>
<div class="line"><a name="l00881"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_assembler_1_1_x_i_l_s_function.html#aeeb7e93f9b1b687a4100b7f40d88e844">  881</a></span>&#160;        <span class="keyword">public</span> <a class="code" href="class_system_sharp_1_1_meta_1_1_argument_descriptor.html">ArgumentDescriptor</a>[] Arguments { <span class="keyword">get</span>; <span class="keyword">private</span> set; }</div>
<div class="line"><a name="l00882"></a><span class="lineno">  882</span>&#160;</div>
<div class="line"><a name="l00886"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_assembler_1_1_x_i_l_s_function.html#af67ec9990c739a13bee4ef734d4768e0">  886</a></span>&#160;        <span class="keyword">public</span> <a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_variable.html">Variable</a>[] Locals { <span class="keyword">get</span>; <span class="keyword">private</span> set; }</div>
<div class="line"><a name="l00887"></a><span class="lineno">  887</span>&#160;</div>
<div class="line"><a name="l00891"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_assembler_1_1_x_i_l_s_function.html#ac9c185c3e1080bd9f0eca0cbeb52b3f0">  891</a></span>&#160;        <span class="keyword">public</span> <a class="code" href="class_system_sharp_1_1_assembler_1_1_x_i_l_s_instr.html">XILSInstr</a>[] Instructions { <span class="keyword">get</span>; <span class="keyword">private</span> set; }</div>
<div class="line"><a name="l00892"></a><span class="lineno">  892</span>&#160;</div>
<div class="line"><a name="l00893"></a><span class="lineno">  893</span>&#160;<span class="preprocessor">        #region ICallable Member</span></div>
<div class="line"><a name="l00894"></a><span class="lineno">  894</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00895"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_assembler_1_1_x_i_l_s_function.html#a0af3d6363c2f3d67203ddbaacb8e1810">  895</a></span>&#160;        <span class="keyword">public</span> <span class="keywordtype">string</span> Name { <span class="keyword">get</span>; <span class="keyword">private</span> set; }</div>
<div class="line"><a name="l00896"></a><span class="lineno">  896</span>&#160;</div>
<div class="line"><a name="l00897"></a><span class="lineno">  897</span>&#160;<span class="preprocessor">        #endregion</span></div>
<div class="line"><a name="l00898"></a><span class="lineno">  898</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00899"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_assembler_1_1_x_i_l_s_function.html#afc72e221b2af6691cf5071306aefc790">  899</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">override</span> <span class="keywordtype">string</span> <a class="code" href="class_system_sharp_1_1_assembler_1_1_x_i_l_s_function.html#afc72e221b2af6691cf5071306aefc790">ToString</a>()</div>
<div class="line"><a name="l00900"></a><span class="lineno">  900</span>&#160;        {</div>
<div class="line"><a name="l00901"></a><span class="lineno">  901</span>&#160;            StringBuilder sb = <span class="keyword">new</span> StringBuilder();</div>
<div class="line"><a name="l00902"></a><span class="lineno">  902</span>&#160;            sb.Append(<span class="stringliteral">&quot;xils:&quot;</span> + Name + <span class="stringliteral">&quot;(&quot;</span>);</div>
<div class="line"><a name="l00903"></a><span class="lineno">  903</span>&#160;            sb.Append(string.Join&lt;<a class="code" href="class_system_sharp_1_1_meta_1_1_argument_descriptor.html">ArgumentDescriptor</a>&gt;(<span class="stringliteral">&quot;, &quot;</span>, Arguments));</div>
<div class="line"><a name="l00904"></a><span class="lineno">  904</span>&#160;            sb.AppendLine(<span class="stringliteral">&quot;)&quot;</span>);</div>
<div class="line"><a name="l00905"></a><span class="lineno">  905</span>&#160;            sb.AppendLine(<span class="stringliteral">&quot;{&quot;</span>);</div>
<div class="line"><a name="l00906"></a><span class="lineno">  906</span>&#160;            <span class="keywordflow">foreach</span> (<a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_variable.html">Variable</a> local <span class="keywordflow">in</span> Locals)</div>
<div class="line"><a name="l00907"></a><span class="lineno">  907</span>&#160;            {</div>
<div class="line"><a name="l00908"></a><span class="lineno">  908</span>&#160;                sb.Append(<span class="stringliteral">&quot;  &quot;</span> + local.Type + <span class="stringliteral">&quot; &quot;</span> + local.Name);</div>
<div class="line"><a name="l00909"></a><span class="lineno">  909</span>&#160;            }</div>
<div class="line"><a name="l00910"></a><span class="lineno">  910</span>&#160;            sb.AppendLine();</div>
<div class="line"><a name="l00911"></a><span class="lineno">  911</span>&#160;            <span class="keywordtype">string</span> fmt = <span class="stringliteral">&quot;D&quot;</span> + ((Instructions.Length - 1).ToString()).Length.ToString();</div>
<div class="line"><a name="l00912"></a><span class="lineno">  912</span>&#160;            <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; Instructions.Length; i++)</div>
<div class="line"><a name="l00913"></a><span class="lineno">  913</span>&#160;            {</div>
<div class="line"><a name="l00914"></a><span class="lineno">  914</span>&#160;                sb.Append(i.ToString(fmt) + <span class="stringliteral">&quot;: &quot;</span>);</div>
<div class="line"><a name="l00915"></a><span class="lineno">  915</span>&#160;                <a class="code" href="class_system_sharp_1_1_assembler_1_1_x_i_l_s_instr.html">XILSInstr</a> instr = Instructions[i];</div>
<div class="line"><a name="l00916"></a><span class="lineno">  916</span>&#160;                sb.AppendLine(instr.ToString());</div>
<div class="line"><a name="l00917"></a><span class="lineno">  917</span>&#160;            }</div>
<div class="line"><a name="l00918"></a><span class="lineno">  918</span>&#160;            sb.AppendLine(<span class="stringliteral">&quot;}&quot;</span>);</div>
<div class="line"><a name="l00919"></a><span class="lineno">  919</span>&#160;            <span class="keywordflow">return</span> sb.ToString();</div>
<div class="line"><a name="l00920"></a><span class="lineno">  920</span>&#160;        }</div>
<div class="line"><a name="l00921"></a><span class="lineno">  921</span>&#160;</div>
<div class="line"><a name="l00925"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_assembler_1_1_x_i_l_s_function.html#af926317e38b694d398e194ab615f1d9c">  925</a></span>&#160;        <span class="keyword">public</span> <span class="keywordtype">void</span> <a class="code" href="class_system_sharp_1_1_assembler_1_1_x_i_l_s_function.html#af926317e38b694d398e194ab615f1d9c">SanityCheck</a>()</div>
<div class="line"><a name="l00926"></a><span class="lineno">  926</span>&#160;        {</div>
<div class="line"><a name="l00927"></a><span class="lineno">  927</span>&#160;            <span class="keywordflow">foreach</span> (var xilsi <span class="keywordflow">in</span> Instructions)</div>
<div class="line"><a name="l00928"></a><span class="lineno">  928</span>&#160;            {</div>
<div class="line"><a name="l00929"></a><span class="lineno">  929</span>&#160;                <span class="keywordflow">switch</span> (xilsi.Command.Name)</div>
<div class="line"><a name="l00930"></a><span class="lineno">  930</span>&#160;                {</div>
<div class="line"><a name="l00931"></a><span class="lineno">  931</span>&#160;                    <span class="keywordflow">case</span> InstructionCodes.StoreVar:</div>
<div class="line"><a name="l00932"></a><span class="lineno">  932</span>&#160;                        {</div>
<div class="line"><a name="l00933"></a><span class="lineno">  933</span>&#160;                            var local = xilsi.StaticOperand as <a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_variable.html">Variable</a>;</div>
<div class="line"><a name="l00934"></a><span class="lineno">  934</span>&#160;                            <span class="keywordflow">if</span> (local != null)</div>
<div class="line"><a name="l00935"></a><span class="lineno">  935</span>&#160;                            {</div>
<div class="line"><a name="l00936"></a><span class="lineno">  936</span>&#160;                                Debug.Assert(Locals.Contains(local));</div>
<div class="line"><a name="l00937"></a><span class="lineno">  937</span>&#160;                            }</div>
<div class="line"><a name="l00938"></a><span class="lineno">  938</span>&#160;                        }</div>
<div class="line"><a name="l00939"></a><span class="lineno">  939</span>&#160;                        <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00940"></a><span class="lineno">  940</span>&#160;                }</div>
<div class="line"><a name="l00941"></a><span class="lineno">  941</span>&#160;            }</div>
<div class="line"><a name="l00942"></a><span class="lineno">  942</span>&#160;        }</div>
<div class="line"><a name="l00943"></a><span class="lineno">  943</span>&#160;    }</div>
<div class="line"><a name="l00944"></a><span class="lineno">  944</span>&#160;</div>
<div class="line"><a name="l00948"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_assembler_1_1_mem_access_info.html">  948</a></span>&#160;    <span class="keyword">public</span> <span class="keyword">class </span><a class="code" href="class_system_sharp_1_1_assembler_1_1_mem_access_info.html">MemAccessInfo</a></div>
<div class="line"><a name="l00949"></a><span class="lineno">  949</span>&#160;    {</div>
<div class="line"><a name="l00953"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_assembler_1_1_mem_access_info.html#a869198e3665c2e19b6d64589ed8b20e2">  953</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">enum</span> <a class="code" href="class_system_sharp_1_1_assembler_1_1_mem_access_info.html#a869198e3665c2e19b6d64589ed8b20e2">EMemAccessKind</a></div>
<div class="line"><a name="l00954"></a><span class="lineno">  954</span>&#160;        {</div>
<div class="line"><a name="l00955"></a><span class="lineno">  955</span>&#160;            Read,</div>
<div class="line"><a name="l00956"></a><span class="lineno">  956</span>&#160;            Write</div>
<div class="line"><a name="l00957"></a><span class="lineno">  957</span>&#160;        }</div>
<div class="line"><a name="l00958"></a><span class="lineno">  958</span>&#160;</div>
<div class="line"><a name="l00962"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_assembler_1_1_mem_access_info.html#a8777b82a45bea866159dde877ae904c3">  962</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">enum</span> <a class="code" href="class_system_sharp_1_1_assembler_1_1_mem_access_info.html#a8777b82a45bea866159dde877ae904c3">EDependencyKind</a></div>
<div class="line"><a name="l00963"></a><span class="lineno">  963</span>&#160;        {</div>
<div class="line"><a name="l00964"></a><span class="lineno">  964</span>&#160;            NoDependency,</div>
<div class="line"><a name="l00965"></a><span class="lineno">  965</span>&#160;            ReadAfterWrite,</div>
<div class="line"><a name="l00966"></a><span class="lineno">  966</span>&#160;            WriteAfterWrite,</div>
<div class="line"><a name="l00967"></a><span class="lineno">  967</span>&#160;            WriteAfterRead</div>
<div class="line"><a name="l00968"></a><span class="lineno">  968</span>&#160;        }</div>
<div class="line"><a name="l00969"></a><span class="lineno">  969</span>&#160;</div>
<div class="line"><a name="l00973"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_assembler_1_1_mem_access_info.html#a0fcb41b0552070bf04474388fb1fb331">  973</a></span>&#160;        <span class="keyword">public</span> <a class="code" href="class_system_sharp_1_1_assembler_1_1_mem_access_info.html#a869198e3665c2e19b6d64589ed8b20e2">EMemAccessKind</a> Kind { <span class="keyword">get</span>; <span class="keyword">private</span> set; }</div>
<div class="line"><a name="l00974"></a><span class="lineno">  974</span>&#160;</div>
<div class="line"><a name="l00978"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_assembler_1_1_mem_access_info.html#a6d9f48aa0f7afbd9f5fbc733ab55ce67">  978</a></span>&#160;        <span class="keyword">public</span> ulong MinAddress { <span class="keyword">get</span>; <span class="keyword">private</span> set; }</div>
<div class="line"><a name="l00979"></a><span class="lineno">  979</span>&#160;</div>
<div class="line"><a name="l00983"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_assembler_1_1_mem_access_info.html#af9633e6331eccb829e3c81e98864152b">  983</a></span>&#160;        <span class="keyword">public</span> ulong MaxAddress { <span class="keyword">get</span>; <span class="keyword">private</span> set; }</div>
<div class="line"><a name="l00984"></a><span class="lineno">  984</span>&#160;</div>
<div class="line"><a name="l00991"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_assembler_1_1_mem_access_info.html#ab51b395fdee6fa137b4226886f928b32">  991</a></span>&#160;        <span class="keyword">public</span> <a class="code" href="class_system_sharp_1_1_assembler_1_1_mem_access_info.html#ab51b395fdee6fa137b4226886f928b32">MemAccessInfo</a>(<a class="code" href="class_system_sharp_1_1_assembler_1_1_mem_access_info.html#a869198e3665c2e19b6d64589ed8b20e2">EMemAccessKind</a> kind, ulong minAddress, ulong maxAddress)</div>
<div class="line"><a name="l00992"></a><span class="lineno">  992</span>&#160;        {</div>
<div class="line"><a name="l00993"></a><span class="lineno">  993</span>&#160;            Kind = kind;</div>
<div class="line"><a name="l00994"></a><span class="lineno">  994</span>&#160;            MinAddress = MinAddress;</div>
<div class="line"><a name="l00995"></a><span class="lineno">  995</span>&#160;            MaxAddress = MaxAddress;</div>
<div class="line"><a name="l00996"></a><span class="lineno">  996</span>&#160;        }</div>
<div class="line"><a name="l00997"></a><span class="lineno">  997</span>&#160;</div>
<div class="line"><a name="l01003"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_assembler_1_1_mem_access_info.html#abafa6d5b23e52fd3fbb64703df42a932"> 1003</a></span>&#160;        <span class="keyword">public</span> <span class="keywordtype">bool</span> <a class="code" href="class_system_sharp_1_1_assembler_1_1_mem_access_info.html#abafa6d5b23e52fd3fbb64703df42a932">Overlaps</a>(<a class="code" href="class_system_sharp_1_1_assembler_1_1_mem_access_info.html">MemAccessInfo</a> mac)</div>
<div class="line"><a name="l01004"></a><span class="lineno"> 1004</span>&#160;        {</div>
<div class="line"><a name="l01005"></a><span class="lineno"> 1005</span>&#160;            <span class="keywordflow">return</span> MaxAddress &gt;= mac.MinAddress &amp;&amp; mac.MaxAddress &gt;= MinAddress;</div>
<div class="line"><a name="l01006"></a><span class="lineno"> 1006</span>&#160;        }</div>
<div class="line"><a name="l01007"></a><span class="lineno"> 1007</span>&#160;</div>
<div class="line"><a name="l01014"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_assembler_1_1_mem_access_info.html#af17cc4c6cbb6a05f650a7e47b1fe14c0"> 1014</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">static</span> <a class="code" href="class_system_sharp_1_1_assembler_1_1_mem_access_info.html#a8777b82a45bea866159dde877ae904c3">EDependencyKind</a> <a class="code" href="class_system_sharp_1_1_assembler_1_1_mem_access_info.html#af17cc4c6cbb6a05f650a7e47b1fe14c0">AanalyzeDependency</a>(<a class="code" href="class_system_sharp_1_1_assembler_1_1_mem_access_info.html">MemAccessInfo</a> first, <a class="code" href="class_system_sharp_1_1_assembler_1_1_mem_access_info.html">MemAccessInfo</a> second)</div>
<div class="line"><a name="l01015"></a><span class="lineno"> 1015</span>&#160;        {</div>
<div class="line"><a name="l01016"></a><span class="lineno"> 1016</span>&#160;            <span class="keywordtype">bool</span> overlap = first.Overlaps(second);</div>
<div class="line"><a name="l01017"></a><span class="lineno"> 1017</span>&#160;            <span class="keywordflow">if</span> (!overlap)</div>
<div class="line"><a name="l01018"></a><span class="lineno"> 1018</span>&#160;                <span class="keywordflow">return</span> EDependencyKind.NoDependency;</div>
<div class="line"><a name="l01019"></a><span class="lineno"> 1019</span>&#160;            <span class="keywordflow">if</span> (first.<a class="code" href="class_system_sharp_1_1_assembler_1_1_mem_access_info.html#a0fcb41b0552070bf04474388fb1fb331">Kind</a> == <a class="code" href="class_system_sharp_1_1_assembler_1_1_mem_access_info.html#a869198e3665c2e19b6d64589ed8b20e2">EMemAccessKind</a>.Read &amp;&amp; second.<a class="code" href="class_system_sharp_1_1_assembler_1_1_mem_access_info.html#a0fcb41b0552070bf04474388fb1fb331">Kind</a> == <a class="code" href="class_system_sharp_1_1_assembler_1_1_mem_access_info.html#a869198e3665c2e19b6d64589ed8b20e2">EMemAccessKind</a>.Read)</div>
<div class="line"><a name="l01020"></a><span class="lineno"> 1020</span>&#160;                <span class="keywordflow">return</span> EDependencyKind.NoDependency;</div>
<div class="line"><a name="l01021"></a><span class="lineno"> 1021</span>&#160;            <span class="keywordflow">else</span> <span class="keywordflow">if</span> (first.<a class="code" href="class_system_sharp_1_1_assembler_1_1_mem_access_info.html#a0fcb41b0552070bf04474388fb1fb331">Kind</a> == <a class="code" href="class_system_sharp_1_1_assembler_1_1_mem_access_info.html#a869198e3665c2e19b6d64589ed8b20e2">EMemAccessKind</a>.Write &amp;&amp; second.<a class="code" href="class_system_sharp_1_1_assembler_1_1_mem_access_info.html#a0fcb41b0552070bf04474388fb1fb331">Kind</a> == <a class="code" href="class_system_sharp_1_1_assembler_1_1_mem_access_info.html#a869198e3665c2e19b6d64589ed8b20e2">EMemAccessKind</a>.Write)</div>
<div class="line"><a name="l01022"></a><span class="lineno"> 1022</span>&#160;                <span class="keywordflow">return</span> EDependencyKind.WriteAfterWrite;</div>
<div class="line"><a name="l01023"></a><span class="lineno"> 1023</span>&#160;            <span class="keywordflow">else</span> <span class="keywordflow">if</span> (first.<a class="code" href="class_system_sharp_1_1_assembler_1_1_mem_access_info.html#a0fcb41b0552070bf04474388fb1fb331">Kind</a> == <a class="code" href="class_system_sharp_1_1_assembler_1_1_mem_access_info.html#a869198e3665c2e19b6d64589ed8b20e2">EMemAccessKind</a>.Write)</div>
<div class="line"><a name="l01024"></a><span class="lineno"> 1024</span>&#160;                <span class="keywordflow">return</span> EDependencyKind.ReadAfterWrite;</div>
<div class="line"><a name="l01025"></a><span class="lineno"> 1025</span>&#160;            <span class="keywordflow">else</span></div>
<div class="line"><a name="l01026"></a><span class="lineno"> 1026</span>&#160;                <span class="keywordflow">return</span> EDependencyKind.WriteAfterRead;</div>
<div class="line"><a name="l01027"></a><span class="lineno"> 1027</span>&#160;        }</div>
<div class="line"><a name="l01028"></a><span class="lineno"> 1028</span>&#160;    }</div>
<div class="line"><a name="l01029"></a><span class="lineno"> 1029</span>&#160;</div>
<div class="line"><a name="l01033"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_assembler_1_1_variable_resource.html"> 1033</a></span>&#160;    <span class="keyword">class </span><a class="code" href="class_system_sharp_1_1_assembler_1_1_variable_resource.html">VariableResource</a> : <a class="code" href="interface_system_sharp_1_1_analysis_1_1_i_instruction_resource.html">IInstructionResource</a></div>
<div class="line"><a name="l01034"></a><span class="lineno"> 1034</span>&#160;    {</div>
<div class="line"><a name="l01038"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_assembler_1_1_variable_resource.html#ac9c5057f95026a3f388e19a45ab55a5d"> 1038</a></span>&#160;        <span class="keyword">public</span> <a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_variable.html">Variable</a> Var { <span class="keyword">get</span>; <span class="keyword">private</span> set; }</div>
<div class="line"><a name="l01039"></a><span class="lineno"> 1039</span>&#160;</div>
<div class="line"><a name="l01044"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_assembler_1_1_variable_resource.html#a0824470017dcd2e360dcfd0f06e11fcf"> 1044</a></span>&#160;        <span class="keyword">public</span> <a class="code" href="class_system_sharp_1_1_assembler_1_1_variable_resource.html#a0824470017dcd2e360dcfd0f06e11fcf">VariableResource</a>(<a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_variable.html">Variable</a> v)</div>
<div class="line"><a name="l01045"></a><span class="lineno"> 1045</span>&#160;        {</div>
<div class="line"><a name="l01046"></a><span class="lineno"> 1046</span>&#160;            Var = v;</div>
<div class="line"><a name="l01047"></a><span class="lineno"> 1047</span>&#160;        }</div>
<div class="line"><a name="l01048"></a><span class="lineno"> 1048</span>&#160;</div>
<div class="line"><a name="l01049"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_assembler_1_1_variable_resource.html#a0dc3070e68cc849b0544804a48267f0e"> 1049</a></span>&#160;        <span class="keyword">public</span> <span class="keywordtype">bool</span> <a class="code" href="class_system_sharp_1_1_assembler_1_1_variable_resource.html#a0dc3070e68cc849b0544804a48267f0e">ConflictsWith</a>(<a class="code" href="interface_system_sharp_1_1_analysis_1_1_i_instruction_resource.html">IInstructionResource</a> other)</div>
<div class="line"><a name="l01050"></a><span class="lineno"> 1050</span>&#160;        {</div>
<div class="line"><a name="l01051"></a><span class="lineno"> 1051</span>&#160;            <span class="keywordflow">if</span> (other is <a class="code" href="class_system_sharp_1_1_assembler_1_1_variable_resource.html">VariableResource</a>)</div>
<div class="line"><a name="l01052"></a><span class="lineno"> 1052</span>&#160;            {</div>
<div class="line"><a name="l01053"></a><span class="lineno"> 1053</span>&#160;                VariableResource vr = (VariableResource)other;</div>
<div class="line"><a name="l01054"></a><span class="lineno"> 1054</span>&#160;                <span class="keywordflow">return</span> Var.Equals(vr.Var);</div>
<div class="line"><a name="l01055"></a><span class="lineno"> 1055</span>&#160;            }</div>
<div class="line"><a name="l01056"></a><span class="lineno"> 1056</span>&#160;            <span class="keywordflow">else</span></div>
<div class="line"><a name="l01057"></a><span class="lineno"> 1057</span>&#160;            {</div>
<div class="line"><a name="l01058"></a><span class="lineno"> 1058</span>&#160;                <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
<div class="line"><a name="l01059"></a><span class="lineno"> 1059</span>&#160;            }</div>
<div class="line"><a name="l01060"></a><span class="lineno"> 1060</span>&#160;        }</div>
<div class="line"><a name="l01061"></a><span class="lineno"> 1061</span>&#160;    }</div>
<div class="line"><a name="l01062"></a><span class="lineno"> 1062</span>&#160;</div>
<div class="line"><a name="l01066"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_assembler_1_1_x_i_l_instruction_info.html"> 1066</a></span>&#160;    <span class="keyword">public</span> <span class="keyword">class </span><a class="code" href="class_system_sharp_1_1_assembler_1_1_x_i_l_instruction_info.html">XILInstructionInfo</a>: IInstructionInfo&lt;XILInstr&gt;</div>
<div class="line"><a name="l01067"></a><span class="lineno"> 1067</span>&#160;    {</div>
<div class="line"><a name="l01074"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_assembler_1_1_x_i_l_instruction_info.html#a20893d3944bd8eefbbfedc097d8b1fc5"> 1074</a></span>&#160;        <span class="keyword">public</span> <span class="keywordtype">bool</span> <a class="code" href="class_system_sharp_1_1_assembler_1_1_x_i_l_instruction_info.html#a20893d3944bd8eefbbfedc097d8b1fc5">IsMemAccess</a>(<a class="code" href="class_system_sharp_1_1_assembler_1_1_x_i_l_instr.html">XILInstr</a> i, out <a class="code" href="class_system_sharp_1_1_assembler_1_1_mem_access_info.html">MemAccessInfo</a> mac)</div>
<div class="line"><a name="l01075"></a><span class="lineno"> 1075</span>&#160;        {</div>
<div class="line"><a name="l01076"></a><span class="lineno"> 1076</span>&#160;            <span class="keywordflow">switch</span> (i.<a class="code" href="class_system_sharp_1_1_assembler_1_1_x_i_l_instr.html#ac1be110ff484ec0078a5ccc572d463bd">Name</a>)</div>
<div class="line"><a name="l01077"></a><span class="lineno"> 1077</span>&#160;            {</div>
<div class="line"><a name="l01078"></a><span class="lineno"> 1078</span>&#160;                <span class="keywordflow">case</span> InstructionCodes.RdMemFix:</div>
<div class="line"><a name="l01079"></a><span class="lineno"> 1079</span>&#160;                    {</div>
<div class="line"><a name="l01080"></a><span class="lineno"> 1080</span>&#160;                        ulong addr = (ulong)i.<a class="code" href="class_system_sharp_1_1_assembler_1_1_x_i_l_instr.html#ac764bb3dd979b2652e84fdb6e7c96553">Operand</a>;</div>
<div class="line"><a name="l01081"></a><span class="lineno"> 1081</span>&#160;                        mac = <span class="keyword">new</span> <a class="code" href="class_system_sharp_1_1_assembler_1_1_mem_access_info.html">MemAccessInfo</a>(<a class="code" href="class_system_sharp_1_1_assembler_1_1_mem_access_info.html">MemAccessInfo</a>.<a class="code" href="class_system_sharp_1_1_assembler_1_1_mem_access_info.html#a869198e3665c2e19b6d64589ed8b20e2">EMemAccessKind</a>.Read,</div>
<div class="line"><a name="l01082"></a><span class="lineno"> 1082</span>&#160;                            addr, addr);</div>
<div class="line"><a name="l01083"></a><span class="lineno"> 1083</span>&#160;                        <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
<div class="line"><a name="l01084"></a><span class="lineno"> 1084</span>&#160;                    }</div>
<div class="line"><a name="l01085"></a><span class="lineno"> 1085</span>&#160;</div>
<div class="line"><a name="l01086"></a><span class="lineno"> 1086</span>&#160;                <span class="keywordflow">case</span> InstructionCodes.WrMemFix:</div>
<div class="line"><a name="l01087"></a><span class="lineno"> 1087</span>&#160;                    {</div>
<div class="line"><a name="l01088"></a><span class="lineno"> 1088</span>&#160;                        ulong addr = (ulong)i.<a class="code" href="class_system_sharp_1_1_assembler_1_1_x_i_l_instr.html#ac764bb3dd979b2652e84fdb6e7c96553">Operand</a>;</div>
<div class="line"><a name="l01089"></a><span class="lineno"> 1089</span>&#160;                        mac = <span class="keyword">new</span> <a class="code" href="class_system_sharp_1_1_assembler_1_1_mem_access_info.html">MemAccessInfo</a>(<a class="code" href="class_system_sharp_1_1_assembler_1_1_mem_access_info.html">MemAccessInfo</a>.<a class="code" href="class_system_sharp_1_1_assembler_1_1_mem_access_info.html#a869198e3665c2e19b6d64589ed8b20e2">EMemAccessKind</a>.Write,</div>
<div class="line"><a name="l01090"></a><span class="lineno"> 1090</span>&#160;                            addr, addr);</div>
<div class="line"><a name="l01091"></a><span class="lineno"> 1091</span>&#160;                        <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
<div class="line"><a name="l01092"></a><span class="lineno"> 1092</span>&#160;                    }</div>
<div class="line"><a name="l01093"></a><span class="lineno"> 1093</span>&#160;</div>
<div class="line"><a name="l01094"></a><span class="lineno"> 1094</span>&#160;                <span class="keywordflow">default</span>:</div>
<div class="line"><a name="l01095"></a><span class="lineno"> 1095</span>&#160;                    mac = null;</div>
<div class="line"><a name="l01096"></a><span class="lineno"> 1096</span>&#160;                    <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
<div class="line"><a name="l01097"></a><span class="lineno"> 1097</span>&#160;            }</div>
<div class="line"><a name="l01098"></a><span class="lineno"> 1098</span>&#160;        }</div>
<div class="line"><a name="l01099"></a><span class="lineno"> 1099</span>&#160;</div>
<div class="line"><a name="l01100"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_assembler_1_1_x_i_l_instruction_info.html#af3a120cea05a14b814b537bc04b4da0f"> 1100</a></span>&#160;        <span class="keyword">public</span> <a class="code" href="namespace_system_sharp_1_1_analysis.html#a07cc6c00d393e2c4e350d74e0d9804c2">EInstructionClass</a> <a class="code" href="class_system_sharp_1_1_assembler_1_1_x_i_l_instruction_info.html#af3a120cea05a14b814b537bc04b4da0f">Classify</a>(<a class="code" href="class_system_sharp_1_1_assembler_1_1_x_i_l_instr.html">XILInstr</a> i)</div>
<div class="line"><a name="l01101"></a><span class="lineno"> 1101</span>&#160;        {</div>
<div class="line"><a name="l01102"></a><span class="lineno"> 1102</span>&#160;            <span class="keywordflow">switch</span> (i.<a class="code" href="class_system_sharp_1_1_assembler_1_1_x_i_l_instr.html#ac1be110ff484ec0078a5ccc572d463bd">Name</a>)</div>
<div class="line"><a name="l01103"></a><span class="lineno"> 1103</span>&#160;            {</div>
<div class="line"><a name="l01104"></a><span class="lineno"> 1104</span>&#160;                <span class="keywordflow">case</span> InstructionCodes.BranchIfFalse:</div>
<div class="line"><a name="l01105"></a><span class="lineno"> 1105</span>&#160;                <span class="keywordflow">case</span> InstructionCodes.BranchIfTrue:</div>
<div class="line"><a name="l01106"></a><span class="lineno"> 1106</span>&#160;                <span class="keywordflow">case</span> InstructionCodes.Goto:</div>
<div class="line"><a name="l01107"></a><span class="lineno"> 1107</span>&#160;                <span class="keywordflow">case</span> InstructionCodes.Return:</div>
<div class="line"><a name="l01108"></a><span class="lineno"> 1108</span>&#160;                    <span class="keywordflow">return</span> EInstructionClass.Branch;</div>
<div class="line"><a name="l01109"></a><span class="lineno"> 1109</span>&#160;</div>
<div class="line"><a name="l01110"></a><span class="lineno"> 1110</span>&#160;                <span class="keywordflow">case</span> InstructionCodes.LoadVar:</div>
<div class="line"><a name="l01111"></a><span class="lineno"> 1111</span>&#160;                <span class="keywordflow">case</span> InstructionCodes.StoreVar:</div>
<div class="line"><a name="l01112"></a><span class="lineno"> 1112</span>&#160;                    <span class="keywordflow">return</span> (i.<a class="code" href="class_system_sharp_1_1_assembler_1_1_x_i_l_instr.html#ac764bb3dd979b2652e84fdb6e7c96553">Operand</a> is <a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_variable.html">Variable</a>) ?</div>
<div class="line"><a name="l01113"></a><span class="lineno"> 1113</span>&#160;                        EInstructionClass.LocalVariableAccess :</div>
<div class="line"><a name="l01114"></a><span class="lineno"> 1114</span>&#160;                        EInstructionClass.Other;</div>
<div class="line"><a name="l01115"></a><span class="lineno"> 1115</span>&#160;</div>
<div class="line"><a name="l01116"></a><span class="lineno"> 1116</span>&#160;                <span class="keywordflow">default</span>:</div>
<div class="line"><a name="l01117"></a><span class="lineno"> 1117</span>&#160;                    <span class="keywordflow">return</span> EInstructionClass.Other;</div>
<div class="line"><a name="l01118"></a><span class="lineno"> 1118</span>&#160;            }</div>
<div class="line"><a name="l01119"></a><span class="lineno"> 1119</span>&#160;        }</div>
<div class="line"><a name="l01120"></a><span class="lineno"> 1120</span>&#160;</div>
<div class="line"><a name="l01121"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_assembler_1_1_x_i_l_instruction_info.html#a38b018a7d95153c6bd195b450bf96f49"> 1121</a></span>&#160;        <span class="keyword">public</span> <a class="code" href="namespace_system_sharp_1_1_analysis.html#ae5c60204e0a023c83ac9abaf2bf3c6e1">EBranchBehavior</a> <a class="code" href="class_system_sharp_1_1_assembler_1_1_x_i_l_instruction_info.html#a38b018a7d95153c6bd195b450bf96f49">IsBranch</a>(<a class="code" href="class_system_sharp_1_1_assembler_1_1_x_i_l_instr.html">XILInstr</a> i, out IEnumerable&lt;int&gt; targets)</div>
<div class="line"><a name="l01122"></a><span class="lineno"> 1122</span>&#160;        {</div>
<div class="line"><a name="l01123"></a><span class="lineno"> 1123</span>&#160;            <span class="keywordflow">switch</span> (i.<a class="code" href="class_system_sharp_1_1_assembler_1_1_x_i_l_instr.html#ac1be110ff484ec0078a5ccc572d463bd">Name</a>)</div>
<div class="line"><a name="l01124"></a><span class="lineno"> 1124</span>&#160;            {</div>
<div class="line"><a name="l01125"></a><span class="lineno"> 1125</span>&#160;                <span class="keywordflow">case</span> InstructionCodes.BranchIfFalse:</div>
<div class="line"><a name="l01126"></a><span class="lineno"> 1126</span>&#160;                <span class="keywordflow">case</span> InstructionCodes.BranchIfTrue:</div>
<div class="line"><a name="l01127"></a><span class="lineno"> 1127</span>&#160;                    {</div>
<div class="line"><a name="l01128"></a><span class="lineno"> 1128</span>&#160;                        <a class="code" href="class_system_sharp_1_1_assembler_1_1_branch_label.html">BranchLabel</a> label = (<a class="code" href="class_system_sharp_1_1_assembler_1_1_branch_label.html">BranchLabel</a>)i.<a class="code" href="class_system_sharp_1_1_assembler_1_1_x_i_l_instr.html#ac764bb3dd979b2652e84fdb6e7c96553">Operand</a>;</div>
<div class="line"><a name="l01129"></a><span class="lineno"> 1129</span>&#160;                        targets = <span class="keyword">new</span> <span class="keywordtype">int</span>[] { label.<a class="code" href="class_system_sharp_1_1_assembler_1_1_branch_label.html#af5dd8246c65151b66488c1574066d623">InstructionIndex</a> };</div>
<div class="line"><a name="l01130"></a><span class="lineno"> 1130</span>&#160;                        <span class="keywordflow">return</span> EBranchBehavior.CBranch;</div>
<div class="line"><a name="l01131"></a><span class="lineno"> 1131</span>&#160;                    }</div>
<div class="line"><a name="l01132"></a><span class="lineno"> 1132</span>&#160;</div>
<div class="line"><a name="l01133"></a><span class="lineno"> 1133</span>&#160;                <span class="keywordflow">case</span> InstructionCodes.Goto:</div>
<div class="line"><a name="l01134"></a><span class="lineno"> 1134</span>&#160;                    {</div>
<div class="line"><a name="l01135"></a><span class="lineno"> 1135</span>&#160;                        <a class="code" href="class_system_sharp_1_1_assembler_1_1_branch_label.html">BranchLabel</a> label = (<a class="code" href="class_system_sharp_1_1_assembler_1_1_branch_label.html">BranchLabel</a>)i.<a class="code" href="class_system_sharp_1_1_assembler_1_1_x_i_l_instr.html#ac764bb3dd979b2652e84fdb6e7c96553">Operand</a>;</div>
<div class="line"><a name="l01136"></a><span class="lineno"> 1136</span>&#160;                        targets = <span class="keyword">new</span> <span class="keywordtype">int</span>[] { label.<a class="code" href="class_system_sharp_1_1_assembler_1_1_branch_label.html#af5dd8246c65151b66488c1574066d623">InstructionIndex</a> };</div>
<div class="line"><a name="l01137"></a><span class="lineno"> 1137</span>&#160;                        <span class="keywordflow">return</span> EBranchBehavior.UBranch;</div>
<div class="line"><a name="l01138"></a><span class="lineno"> 1138</span>&#160;                    }</div>
<div class="line"><a name="l01139"></a><span class="lineno"> 1139</span>&#160;</div>
<div class="line"><a name="l01140"></a><span class="lineno"> 1140</span>&#160;                <span class="keywordflow">case</span> InstructionCodes.Return:</div>
<div class="line"><a name="l01141"></a><span class="lineno"> 1141</span>&#160;                <span class="keywordflow">case</span> InstructionCodes.ExitMarshal:</div>
<div class="line"><a name="l01142"></a><span class="lineno"> 1142</span>&#160;                    targets = <span class="keyword">new</span> <span class="keywordtype">int</span>[0];</div>
<div class="line"><a name="l01143"></a><span class="lineno"> 1143</span>&#160;                    <span class="keywordflow">return</span> EBranchBehavior.Return;</div>
<div class="line"><a name="l01144"></a><span class="lineno"> 1144</span>&#160;</div>
<div class="line"><a name="l01145"></a><span class="lineno"> 1145</span>&#160;                <span class="keywordflow">default</span>:</div>
<div class="line"><a name="l01146"></a><span class="lineno"> 1146</span>&#160;                    targets = <span class="keyword">new</span> <span class="keywordtype">int</span>[0];</div>
<div class="line"><a name="l01147"></a><span class="lineno"> 1147</span>&#160;                    <span class="keywordflow">return</span> EBranchBehavior.NoBranch;</div>
<div class="line"><a name="l01148"></a><span class="lineno"> 1148</span>&#160;            }</div>
<div class="line"><a name="l01149"></a><span class="lineno"> 1149</span>&#160;        }</div>
<div class="line"><a name="l01150"></a><span class="lineno"> 1150</span>&#160;</div>
<div class="line"><a name="l01151"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_assembler_1_1_x_i_l_instruction_info.html#adec970714a28fba7682e08649a6b4e3a"> 1151</a></span>&#160;        <span class="keyword">public</span> <a class="code" href="namespace_system_sharp_1_1_analysis.html#a5ebdc38449ace206f5d7a926a47adb48">ELocalVariableAccess</a> <a class="code" href="class_system_sharp_1_1_assembler_1_1_x_i_l_instruction_info.html#adec970714a28fba7682e08649a6b4e3a">IsLocalVariableAccess</a>(<a class="code" href="class_system_sharp_1_1_assembler_1_1_x_i_l_instr.html">XILInstr</a> i, out <span class="keywordtype">int</span> localIndex)</div>
<div class="line"><a name="l01152"></a><span class="lineno"> 1152</span>&#160;        {</div>
<div class="line"><a name="l01153"></a><span class="lineno"> 1153</span>&#160;            localIndex = -1;</div>
<div class="line"><a name="l01154"></a><span class="lineno"> 1154</span>&#160;            var v = i.Operand as <a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_variable.html">Variable</a>;</div>
<div class="line"><a name="l01155"></a><span class="lineno"> 1155</span>&#160;            <span class="keywordflow">if</span> (v == null)</div>
<div class="line"><a name="l01156"></a><span class="lineno"> 1156</span>&#160;                <span class="keywordflow">return</span> ELocalVariableAccess.NoAccess;</div>
<div class="line"><a name="l01157"></a><span class="lineno"> 1157</span>&#160;</div>
<div class="line"><a name="l01158"></a><span class="lineno"> 1158</span>&#160;            <span class="keywordflow">switch</span> (i.<a class="code" href="class_system_sharp_1_1_assembler_1_1_x_i_l_instr.html#ac1be110ff484ec0078a5ccc572d463bd">Name</a>)</div>
<div class="line"><a name="l01159"></a><span class="lineno"> 1159</span>&#160;            {</div>
<div class="line"><a name="l01160"></a><span class="lineno"> 1160</span>&#160;                <span class="keywordflow">case</span> InstructionCodes.LoadVar:</div>
<div class="line"><a name="l01161"></a><span class="lineno"> 1161</span>&#160;                    localIndex = v.LocalIndex;</div>
<div class="line"><a name="l01162"></a><span class="lineno"> 1162</span>&#160;                    <span class="keywordflow">return</span> ELocalVariableAccess.ReadVariable;</div>
<div class="line"><a name="l01163"></a><span class="lineno"> 1163</span>&#160;</div>
<div class="line"><a name="l01164"></a><span class="lineno"> 1164</span>&#160;                <span class="keywordflow">case</span> InstructionCodes.StoreVar:</div>
<div class="line"><a name="l01165"></a><span class="lineno"> 1165</span>&#160;                    localIndex = v.LocalIndex;</div>
<div class="line"><a name="l01166"></a><span class="lineno"> 1166</span>&#160;                    <span class="keywordflow">return</span> ELocalVariableAccess.WriteVariable;</div>
<div class="line"><a name="l01167"></a><span class="lineno"> 1167</span>&#160;</div>
<div class="line"><a name="l01168"></a><span class="lineno"> 1168</span>&#160;                <span class="keywordflow">default</span>:</div>
<div class="line"><a name="l01169"></a><span class="lineno"> 1169</span>&#160;                    <span class="keywordflow">return</span> ELocalVariableAccess.NoAccess;</div>
<div class="line"><a name="l01170"></a><span class="lineno"> 1170</span>&#160;            }</div>
<div class="line"><a name="l01171"></a><span class="lineno"> 1171</span>&#160;        }</div>
<div class="line"><a name="l01172"></a><span class="lineno"> 1172</span>&#160;</div>
<div class="line"><a name="l01173"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_assembler_1_1_x_i_l_instruction_info.html#a68b5f6daf829d20da32019bf7b4e3e4c"> 1173</a></span>&#160;        <span class="keyword">public</span> <a class="code" href="namespace_system_sharp_1_1_analysis.html#a297a1358d9e61ee4fce1cae42d391a11">EInstructionResourceAccess</a> <a class="code" href="class_system_sharp_1_1_assembler_1_1_x_i_l_instruction_info.html#a68b5f6daf829d20da32019bf7b4e3e4c">UsesResource</a>(<a class="code" href="class_system_sharp_1_1_assembler_1_1_x_i_l_instr.html">XILInstr</a> i, out <a class="code" href="interface_system_sharp_1_1_analysis_1_1_i_instruction_resource.html">IInstructionResource</a> resource)</div>
<div class="line"><a name="l01174"></a><span class="lineno"> 1174</span>&#160;        {</div>
<div class="line"><a name="l01175"></a><span class="lineno"> 1175</span>&#160;            <span class="keywordflow">switch</span> (i.<a class="code" href="class_system_sharp_1_1_assembler_1_1_x_i_l_instr.html#ac1be110ff484ec0078a5ccc572d463bd">Name</a>)</div>
<div class="line"><a name="l01176"></a><span class="lineno"> 1176</span>&#160;            {</div>
<div class="line"><a name="l01177"></a><span class="lineno"> 1177</span>&#160;                <span class="keywordflow">case</span> InstructionCodes.LoadVar:</div>
<div class="line"><a name="l01178"></a><span class="lineno"> 1178</span>&#160;                    resource = <span class="keyword">new</span> <a class="code" href="class_system_sharp_1_1_assembler_1_1_variable_resource.html">VariableResource</a>((<a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_variable.html">Variable</a>)i.<a class="code" href="class_system_sharp_1_1_assembler_1_1_x_i_l_instr.html#ac764bb3dd979b2652e84fdb6e7c96553">Operand</a>);</div>
<div class="line"><a name="l01179"></a><span class="lineno"> 1179</span>&#160;                    <span class="keywordflow">return</span> EInstructionResourceAccess.Reading;</div>
<div class="line"><a name="l01180"></a><span class="lineno"> 1180</span>&#160;</div>
<div class="line"><a name="l01181"></a><span class="lineno"> 1181</span>&#160;                <span class="keywordflow">case</span> InstructionCodes.StoreVar:</div>
<div class="line"><a name="l01182"></a><span class="lineno"> 1182</span>&#160;                    resource = <span class="keyword">new</span> <a class="code" href="class_system_sharp_1_1_assembler_1_1_variable_resource.html">VariableResource</a>((<a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_variable.html">Variable</a>)i.<a class="code" href="class_system_sharp_1_1_assembler_1_1_x_i_l_instr.html#ac764bb3dd979b2652e84fdb6e7c96553">Operand</a>);</div>
<div class="line"><a name="l01183"></a><span class="lineno"> 1183</span>&#160;                    <span class="keywordflow">return</span> EInstructionResourceAccess.Writing;</div>
<div class="line"><a name="l01184"></a><span class="lineno"> 1184</span>&#160;</div>
<div class="line"><a name="l01185"></a><span class="lineno"> 1185</span>&#160;                <span class="keywordflow">case</span> InstructionCodes.RdMemFix:</div>
<div class="line"><a name="l01186"></a><span class="lineno"> 1186</span>&#160;                    <span class="keywordflow">throw</span> <span class="keyword">new</span> NotImplementedException();</div>
<div class="line"><a name="l01187"></a><span class="lineno"> 1187</span>&#160;</div>
<div class="line"><a name="l01188"></a><span class="lineno"> 1188</span>&#160;                <span class="keywordflow">case</span> InstructionCodes.WrMemFix:</div>
<div class="line"><a name="l01189"></a><span class="lineno"> 1189</span>&#160;                    <span class="keywordflow">throw</span> <span class="keyword">new</span> NotImplementedException();</div>
<div class="line"><a name="l01190"></a><span class="lineno"> 1190</span>&#160;</div>
<div class="line"><a name="l01191"></a><span class="lineno"> 1191</span>&#160;                <span class="keywordflow">default</span>:</div>
<div class="line"><a name="l01192"></a><span class="lineno"> 1192</span>&#160;                    resource = null;</div>
<div class="line"><a name="l01193"></a><span class="lineno"> 1193</span>&#160;                    <span class="keywordflow">return</span> EInstructionResourceAccess.NoResource;</div>
<div class="line"><a name="l01194"></a><span class="lineno"> 1194</span>&#160;            }</div>
<div class="line"><a name="l01195"></a><span class="lineno"> 1195</span>&#160;        }</div>
<div class="line"><a name="l01196"></a><span class="lineno"> 1196</span>&#160;    }</div>
<div class="line"><a name="l01197"></a><span class="lineno"> 1197</span>&#160;</div>
<div class="line"><a name="l01201"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_assembler_1_1_x_i_l_s_instruction_info.html"> 1201</a></span>&#160;    <span class="keyword">public</span> <span class="keyword">class </span><a class="code" href="class_system_sharp_1_1_assembler_1_1_x_i_l_s_instruction_info.html">XILSInstructionInfo</a> : IInstructionInfo&lt;XILSInstr&gt;</div>
<div class="line"><a name="l01202"></a><span class="lineno"> 1202</span>&#160;    {</div>
<div class="line"><a name="l01203"></a><span class="lineno"> 1203</span>&#160;        <span class="keyword">private</span> <a class="code" href="class_system_sharp_1_1_assembler_1_1_x_i_l_instruction_info.html">XILInstructionInfo</a> _xilii = <span class="keyword">new</span> <a class="code" href="class_system_sharp_1_1_assembler_1_1_x_i_l_instruction_info.html">XILInstructionInfo</a>();</div>
<div class="line"><a name="l01204"></a><span class="lineno"> 1204</span>&#160;</div>
<div class="line"><a name="l01205"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_assembler_1_1_x_i_l_s_instruction_info.html#ae46138fbd7f36379ddc3728360d8945e"> 1205</a></span>&#160;        <span class="keyword">public</span> <a class="code" href="namespace_system_sharp_1_1_analysis.html#a07cc6c00d393e2c4e350d74e0d9804c2">EInstructionClass</a> <a class="code" href="class_system_sharp_1_1_assembler_1_1_x_i_l_s_instruction_info.html#ae46138fbd7f36379ddc3728360d8945e">Classify</a>(<a class="code" href="class_system_sharp_1_1_assembler_1_1_x_i_l_s_instr.html">XILSInstr</a> i)</div>
<div class="line"><a name="l01206"></a><span class="lineno"> 1206</span>&#160;        {</div>
<div class="line"><a name="l01207"></a><span class="lineno"> 1207</span>&#160;            <span class="keywordflow">return</span> _xilii.Classify(i.Command);</div>
<div class="line"><a name="l01208"></a><span class="lineno"> 1208</span>&#160;        }</div>
<div class="line"><a name="l01209"></a><span class="lineno"> 1209</span>&#160;</div>
<div class="line"><a name="l01210"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_assembler_1_1_x_i_l_s_instruction_info.html#abd2e7c560d3ee31bd9797c68723337d7"> 1210</a></span>&#160;        <span class="keyword">public</span> <a class="code" href="namespace_system_sharp_1_1_analysis.html#ae5c60204e0a023c83ac9abaf2bf3c6e1">EBranchBehavior</a> <a class="code" href="class_system_sharp_1_1_assembler_1_1_x_i_l_s_instruction_info.html#abd2e7c560d3ee31bd9797c68723337d7">IsBranch</a>(<a class="code" href="class_system_sharp_1_1_assembler_1_1_x_i_l_s_instr.html">XILSInstr</a> i, out IEnumerable&lt;int&gt; targets)</div>
<div class="line"><a name="l01211"></a><span class="lineno"> 1211</span>&#160;        {</div>
<div class="line"><a name="l01212"></a><span class="lineno"> 1212</span>&#160;            <span class="keywordflow">return</span> _xilii.IsBranch(i.Command, out targets);</div>
<div class="line"><a name="l01213"></a><span class="lineno"> 1213</span>&#160;        }</div>
<div class="line"><a name="l01214"></a><span class="lineno"> 1214</span>&#160;</div>
<div class="line"><a name="l01215"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_assembler_1_1_x_i_l_s_instruction_info.html#ae65bd54e2897caa54580961a29ec8522"> 1215</a></span>&#160;        <span class="keyword">public</span> <a class="code" href="namespace_system_sharp_1_1_analysis.html#a5ebdc38449ace206f5d7a926a47adb48">ELocalVariableAccess</a> <a class="code" href="class_system_sharp_1_1_assembler_1_1_x_i_l_s_instruction_info.html#ae65bd54e2897caa54580961a29ec8522">IsLocalVariableAccess</a>(<a class="code" href="class_system_sharp_1_1_assembler_1_1_x_i_l_s_instr.html">XILSInstr</a> i, out <span class="keywordtype">int</span> localIndex)</div>
<div class="line"><a name="l01216"></a><span class="lineno"> 1216</span>&#160;        {</div>
<div class="line"><a name="l01217"></a><span class="lineno"> 1217</span>&#160;            <span class="keywordflow">return</span> _xilii.IsLocalVariableAccess(i.Command, out localIndex);</div>
<div class="line"><a name="l01218"></a><span class="lineno"> 1218</span>&#160;        }</div>
<div class="line"><a name="l01219"></a><span class="lineno"> 1219</span>&#160;</div>
<div class="line"><a name="l01220"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_assembler_1_1_x_i_l_s_instruction_info.html#ac9d3f7245c2a0a1d6a481c82be6ee73d"> 1220</a></span>&#160;        <span class="keyword">public</span> <a class="code" href="namespace_system_sharp_1_1_analysis.html#a297a1358d9e61ee4fce1cae42d391a11">EInstructionResourceAccess</a> <a class="code" href="class_system_sharp_1_1_assembler_1_1_x_i_l_s_instruction_info.html#ac9d3f7245c2a0a1d6a481c82be6ee73d">UsesResource</a>(<a class="code" href="class_system_sharp_1_1_assembler_1_1_x_i_l_s_instr.html">XILSInstr</a> i, out <a class="code" href="interface_system_sharp_1_1_analysis_1_1_i_instruction_resource.html">IInstructionResource</a> resource)</div>
<div class="line"><a name="l01221"></a><span class="lineno"> 1221</span>&#160;        {</div>
<div class="line"><a name="l01222"></a><span class="lineno"> 1222</span>&#160;            <span class="keywordflow">return</span> _xilii.UsesResource(i.Command, out resource);</div>
<div class="line"><a name="l01223"></a><span class="lineno"> 1223</span>&#160;        }</div>
<div class="line"><a name="l01224"></a><span class="lineno"> 1224</span>&#160;</div>
<div class="line"><a name="l01230"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_assembler_1_1_x_i_l_s_instruction_info.html#a0be0a409f3918acdb66baed6f6e9dd71"> 1230</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">static</span> IEnumerable&lt;int&gt; <a class="code" href="class_system_sharp_1_1_assembler_1_1_x_i_l_s_instruction_info.html#a0be0a409f3918acdb66baed6f6e9dd71">GetBasicBlockBoundaries</a>(IEnumerable&lt;XILSInstr&gt; instrs)</div>
<div class="line"><a name="l01231"></a><span class="lineno"> 1231</span>&#160;        {</div>
<div class="line"><a name="l01232"></a><span class="lineno"> 1232</span>&#160;            HashSet&lt;int&gt; bbs = <span class="keyword">new</span> HashSet&lt;int&gt;();</div>
<div class="line"><a name="l01233"></a><span class="lineno"> 1233</span>&#160;            bbs.Add(0);</div>
<div class="line"><a name="l01234"></a><span class="lineno"> 1234</span>&#160;            <span class="keywordflow">foreach</span> (var xilsi <span class="keywordflow">in</span> instrs)</div>
<div class="line"><a name="l01235"></a><span class="lineno"> 1235</span>&#160;            {</div>
<div class="line"><a name="l01236"></a><span class="lineno"> 1236</span>&#160;                <span class="keywordflow">switch</span> (xilsi.Name)</div>
<div class="line"><a name="l01237"></a><span class="lineno"> 1237</span>&#160;                {</div>
<div class="line"><a name="l01238"></a><span class="lineno"> 1238</span>&#160;                    <span class="keywordflow">case</span> InstructionCodes.BranchIfFalse:</div>
<div class="line"><a name="l01239"></a><span class="lineno"> 1239</span>&#160;                    <span class="keywordflow">case</span> InstructionCodes.BranchIfTrue:</div>
<div class="line"><a name="l01240"></a><span class="lineno"> 1240</span>&#160;                    <span class="keywordflow">case</span> InstructionCodes.Goto:</div>
<div class="line"><a name="l01241"></a><span class="lineno"> 1241</span>&#160;                        {</div>
<div class="line"><a name="l01242"></a><span class="lineno"> 1242</span>&#160;                            <a class="code" href="class_system_sharp_1_1_assembler_1_1_branch_label.html">BranchLabel</a> target = (<a class="code" href="class_system_sharp_1_1_assembler_1_1_branch_label.html">BranchLabel</a>)xilsi.StaticOperand;</div>
<div class="line"><a name="l01243"></a><span class="lineno"> 1243</span>&#160;                            bbs.Add(target.<a class="code" href="class_system_sharp_1_1_assembler_1_1_branch_label.html#af5dd8246c65151b66488c1574066d623">InstructionIndex</a>);</div>
<div class="line"><a name="l01244"></a><span class="lineno"> 1244</span>&#160;                            bbs.Add(xilsi.Index + 1);</div>
<div class="line"><a name="l01245"></a><span class="lineno"> 1245</span>&#160;                        }</div>
<div class="line"><a name="l01246"></a><span class="lineno"> 1246</span>&#160;                        <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l01247"></a><span class="lineno"> 1247</span>&#160;</div>
<div class="line"><a name="l01248"></a><span class="lineno"> 1248</span>&#160;                    <span class="keywordflow">default</span>:</div>
<div class="line"><a name="l01249"></a><span class="lineno"> 1249</span>&#160;                        <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l01250"></a><span class="lineno"> 1250</span>&#160;                }</div>
<div class="line"><a name="l01251"></a><span class="lineno"> 1251</span>&#160;            }</div>
<div class="line"><a name="l01252"></a><span class="lineno"> 1252</span>&#160;            <span class="keywordflow">return</span> bbs.OrderBy(i =&gt; i);</div>
<div class="line"><a name="l01253"></a><span class="lineno"> 1253</span>&#160;        }</div>
<div class="line"><a name="l01254"></a><span class="lineno"> 1254</span>&#160;</div>
<div class="line"><a name="l01260"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_assembler_1_1_x_i_l_s_instruction_info.html#abbb62b56d4f824ffa08254631f32156b"> 1260</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">static</span> IEnumerable&lt;IEnumerable&lt;XILSInstr&gt;&gt; <a class="code" href="class_system_sharp_1_1_assembler_1_1_x_i_l_s_instruction_info.html#abbb62b56d4f824ffa08254631f32156b">GetBasicBlocks</a>(IEnumerable&lt;XILSInstr&gt; instrs)</div>
<div class="line"><a name="l01261"></a><span class="lineno"> 1261</span>&#160;        {</div>
<div class="line"><a name="l01262"></a><span class="lineno"> 1262</span>&#160;            var bbs = GetBasicBlockBoundaries(instrs);</div>
<div class="line"><a name="l01263"></a><span class="lineno"> 1263</span>&#160;            <span class="keywordtype">int</span> nbbs = bbs.Count();</div>
<div class="line"><a name="l01264"></a><span class="lineno"> 1264</span>&#160;            <span class="keywordflow">return</span> bbs.Take(nbbs - 1)</div>
<div class="line"><a name="l01265"></a><span class="lineno"> 1265</span>&#160;                .Zip(bbs.Skip(1), (i, j) =&gt; <a class="code" href="namespace_system_sharp_1_1_meta.html#a6d63cf701a55bdbe2a3bb6df72b1c11daafcbeb58fca053cad573bd9efda1dc5b">Tuple</a>.Create(i, j))</div>
<div class="line"><a name="l01266"></a><span class="lineno"> 1266</span>&#160;                .Select(tup =&gt; instrs.Skip(tup.Item1).Take(tup.Item2 - tup.Item1));</div>
<div class="line"><a name="l01267"></a><span class="lineno"> 1267</span>&#160;        }</div>
<div class="line"><a name="l01268"></a><span class="lineno"> 1268</span>&#160;    }</div>
<div class="line"><a name="l01269"></a><span class="lineno"> 1269</span>&#160;</div>
<div class="line"><a name="l01273"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_assembler_1_1_x_i_l3_instruction_info.html"> 1273</a></span>&#160;    <span class="keyword">public</span> <span class="keyword">class </span><a class="code" href="class_system_sharp_1_1_assembler_1_1_x_i_l3_instruction_info.html">XIL3InstructionInfo</a> : IInstructionInfo&lt;XIL3Instr&gt;</div>
<div class="line"><a name="l01274"></a><span class="lineno"> 1274</span>&#160;    {</div>
<div class="line"><a name="l01275"></a><span class="lineno"> 1275</span>&#160;        <span class="keyword">private</span> <a class="code" href="class_system_sharp_1_1_assembler_1_1_x_i_l_instruction_info.html">XILInstructionInfo</a> _xilii = <span class="keyword">new</span> <a class="code" href="class_system_sharp_1_1_assembler_1_1_x_i_l_instruction_info.html">XILInstructionInfo</a>();</div>
<div class="line"><a name="l01276"></a><span class="lineno"> 1276</span>&#160;</div>
<div class="line"><a name="l01277"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_assembler_1_1_x_i_l3_instruction_info.html#a7385e51d524f40ac39d172d2775a0327"> 1277</a></span>&#160;        <span class="keyword">public</span> <a class="code" href="namespace_system_sharp_1_1_analysis.html#a07cc6c00d393e2c4e350d74e0d9804c2">EInstructionClass</a> <a class="code" href="class_system_sharp_1_1_assembler_1_1_x_i_l3_instruction_info.html#a7385e51d524f40ac39d172d2775a0327">Classify</a>(<a class="code" href="class_system_sharp_1_1_assembler_1_1_x_i_l3_instr.html">XIL3Instr</a> i)</div>
<div class="line"><a name="l01278"></a><span class="lineno"> 1278</span>&#160;        {</div>
<div class="line"><a name="l01279"></a><span class="lineno"> 1279</span>&#160;            <span class="keywordflow">return</span> _xilii.Classify(i.Command);</div>
<div class="line"><a name="l01280"></a><span class="lineno"> 1280</span>&#160;        }</div>
<div class="line"><a name="l01281"></a><span class="lineno"> 1281</span>&#160;</div>
<div class="line"><a name="l01282"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_assembler_1_1_x_i_l3_instruction_info.html#ac78232e373055bd84ad8d44d682d14fd"> 1282</a></span>&#160;        <span class="keyword">public</span> <a class="code" href="namespace_system_sharp_1_1_analysis.html#ae5c60204e0a023c83ac9abaf2bf3c6e1">EBranchBehavior</a> <a class="code" href="class_system_sharp_1_1_assembler_1_1_x_i_l3_instruction_info.html#ac78232e373055bd84ad8d44d682d14fd">IsBranch</a>(<a class="code" href="class_system_sharp_1_1_assembler_1_1_x_i_l3_instr.html">XIL3Instr</a> i, out IEnumerable&lt;int&gt; targets)</div>
<div class="line"><a name="l01283"></a><span class="lineno"> 1283</span>&#160;        {</div>
<div class="line"><a name="l01284"></a><span class="lineno"> 1284</span>&#160;            <span class="keywordflow">return</span> _xilii.IsBranch(i.Command, out targets);</div>
<div class="line"><a name="l01285"></a><span class="lineno"> 1285</span>&#160;        }</div>
<div class="line"><a name="l01286"></a><span class="lineno"> 1286</span>&#160;</div>
<div class="line"><a name="l01287"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_assembler_1_1_x_i_l3_instruction_info.html#a1f9f3dc98c7eecb091bb64df9681548f"> 1287</a></span>&#160;        <span class="keyword">public</span> <a class="code" href="namespace_system_sharp_1_1_analysis.html#a5ebdc38449ace206f5d7a926a47adb48">ELocalVariableAccess</a> <a class="code" href="class_system_sharp_1_1_assembler_1_1_x_i_l3_instruction_info.html#a1f9f3dc98c7eecb091bb64df9681548f">IsLocalVariableAccess</a>(<a class="code" href="class_system_sharp_1_1_assembler_1_1_x_i_l3_instr.html">XIL3Instr</a> i, out <span class="keywordtype">int</span> localIndex)</div>
<div class="line"><a name="l01288"></a><span class="lineno"> 1288</span>&#160;        {</div>
<div class="line"><a name="l01289"></a><span class="lineno"> 1289</span>&#160;            <span class="keywordflow">return</span> _xilii.IsLocalVariableAccess(i.Command, out localIndex);</div>
<div class="line"><a name="l01290"></a><span class="lineno"> 1290</span>&#160;        }</div>
<div class="line"><a name="l01291"></a><span class="lineno"> 1291</span>&#160;</div>
<div class="line"><a name="l01292"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_assembler_1_1_x_i_l3_instruction_info.html#a5085a729a377967b81e18cf7c804278e"> 1292</a></span>&#160;        <span class="keyword">public</span> <a class="code" href="namespace_system_sharp_1_1_analysis.html#a297a1358d9e61ee4fce1cae42d391a11">EInstructionResourceAccess</a> <a class="code" href="class_system_sharp_1_1_assembler_1_1_x_i_l3_instruction_info.html#a5085a729a377967b81e18cf7c804278e">UsesResource</a>(<a class="code" href="class_system_sharp_1_1_assembler_1_1_x_i_l3_instr.html">XIL3Instr</a> i, out <a class="code" href="interface_system_sharp_1_1_analysis_1_1_i_instruction_resource.html">IInstructionResource</a> resource)</div>
<div class="line"><a name="l01293"></a><span class="lineno"> 1293</span>&#160;        {</div>
<div class="line"><a name="l01294"></a><span class="lineno"> 1294</span>&#160;            <span class="keywordflow">return</span> _xilii.UsesResource(i.Command, out resource);</div>
<div class="line"><a name="l01295"></a><span class="lineno"> 1295</span>&#160;        }</div>
<div class="line"><a name="l01296"></a><span class="lineno"> 1296</span>&#160;    }</div>
<div class="line"><a name="l01297"></a><span class="lineno"> 1297</span>&#160;}</div>
<div class="ttc" id="class_system_sharp_1_1_assembler_1_1_x_i_l3_function_html"><div class="ttname"><a href="class_system_sharp_1_1_assembler_1_1_x_i_l3_function.html">SystemSharp.Assembler.XIL3Function</a></div><div class="ttdoc">A XIL-3 function </div><div class="ttdef"><b>Definition:</b> <a href="_asm_core_8cs_source.html#l00644">AsmCore.cs:644</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_assembler_1_1_time_dependency_html_a8624652c90f6c9796c39089a146df0ec"><div class="ttname"><a href="class_system_sharp_1_1_assembler_1_1_time_dependency.html#a8624652c90f6c9796c39089a146df0ec">SystemSharp.Assembler.TimeDependency.Equals</a></div><div class="ttdeci">override bool Equals(object obj)</div><div class="ttdef"><b>Definition:</b> <a href="_asm_core_8cs_source.html#l00286">AsmCore.cs:286</a></div></div>
<div class="ttc" id="namespace_system_sharp_1_1_analysis_html_ae5c60204e0a023c83ac9abaf2bf3c6e1"><div class="ttname"><a href="namespace_system_sharp_1_1_analysis.html#ae5c60204e0a023c83ac9abaf2bf3c6e1">SystemSharp.Analysis.EBranchBehavior</a></div><div class="ttdeci">EBranchBehavior</div><div class="ttdoc">Classifies branch instructions into categories </div><div class="ttdef"><b>Definition:</b> <a href="_controlflow_analysis_8cs_source.html#l00066">ControlflowAnalysis.cs:66</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_analysis_1_1_i_l_index_ref_html"><div class="ttname"><a href="class_system_sharp_1_1_analysis_1_1_i_l_index_ref.html">SystemSharp.Analysis.ILIndexRef</a></div><div class="ttdoc">Represents a unique program location, specified by a method and instruction index, including the call stack of program locations. </div><div class="ttdef"><b>Definition:</b> <a href="_m_s_i_l_decompiler_8cs_source.html#l01034">MSILDecompiler.cs:1034</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_assembler_1_1_mem_access_info_html_abafa6d5b23e52fd3fbb64703df42a932"><div class="ttname"><a href="class_system_sharp_1_1_assembler_1_1_mem_access_info.html#abafa6d5b23e52fd3fbb64703df42a932">SystemSharp.Assembler.MemAccessInfo.Overlaps</a></div><div class="ttdeci">bool Overlaps(MemAccessInfo mac)</div><div class="ttdoc">Checks whether this access might refer to the same address as another access </div><div class="ttdef"><b>Definition:</b> <a href="_asm_core_8cs_source.html#l01003">AsmCore.cs:1003</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_assembler_1_1_x_i_l3_instr_html_a55330e8f2ddc40d951123d8dc979c14a"><div class="ttname"><a href="class_system_sharp_1_1_assembler_1_1_x_i_l3_instr.html#a55330e8f2ddc40d951123d8dc979c14a">SystemSharp.Assembler.XIL3Instr.StaticOperand</a></div><div class="ttdeci">object StaticOperand</div><div class="ttdef"><b>Definition:</b> <a href="_asm_core_8cs_source.html#l00383">AsmCore.cs:383</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_assembler_1_1_x_i_l_instr_html_a902cb75689f2dfb8146d71565524f280"><div class="ttname"><a href="class_system_sharp_1_1_assembler_1_1_x_i_l_instr.html#a902cb75689f2dfb8146d71565524f280">SystemSharp.Assembler.XILInstr.ToString</a></div><div class="ttdeci">override string ToString()</div><div class="ttdef"><b>Definition:</b> <a href="_asm_core_8cs_source.html#l00077">AsmCore.cs:77</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_assembler_1_1_x_i_l_s_instruction_info_html_ae65bd54e2897caa54580961a29ec8522"><div class="ttname"><a href="class_system_sharp_1_1_assembler_1_1_x_i_l_s_instruction_info.html#ae65bd54e2897caa54580961a29ec8522">SystemSharp.Assembler.XILSInstructionInfo.IsLocalVariableAccess</a></div><div class="ttdeci">ELocalVariableAccess IsLocalVariableAccess(XILSInstr i, out int localIndex)</div><div class="ttdef"><b>Definition:</b> <a href="_asm_core_8cs_source.html#l01215">AsmCore.cs:1215</a></div></div>
<div class="ttc" id="namespace_system_sharp_1_1_analysis_html_a5ebdc38449ace206f5d7a926a47adb48"><div class="ttname"><a href="namespace_system_sharp_1_1_analysis.html#a5ebdc38449ace206f5d7a926a47adb48">SystemSharp.Analysis.ELocalVariableAccess</a></div><div class="ttdeci">ELocalVariableAccess</div><div class="ttdoc">Classifies local variable access instructions into categories </div><div class="ttdef"><b>Definition:</b> <a href="_controlflow_analysis_8cs_source.html#l00102">ControlflowAnalysis.cs:102</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_assembler_1_1_x_i_l3_instr_html_a09bba27cd9036b5761b80bd32f19e9fd"><div class="ttname"><a href="class_system_sharp_1_1_assembler_1_1_x_i_l3_instr.html#a09bba27cd9036b5761b80bd32f19e9fd">SystemSharp.Assembler.XIL3Instr.XIL3Instr</a></div><div class="ttdeci">XIL3Instr(XILInstr command, InstructionDependency[] preds, int[] operandSlots, int[] resultSlots)</div><div class="ttdoc">Constructs an instance </div><div class="ttdef"><b>Definition:</b> <a href="_asm_core_8cs_source.html#l00399">AsmCore.cs:399</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_assembler_1_1_x_i_l_instr_html_a182cd82b0a2a5e31069716ca7f1b8049"><div class="ttname"><a href="class_system_sharp_1_1_assembler_1_1_x_i_l_instr.html#a182cd82b0a2a5e31069716ca7f1b8049">SystemSharp.Assembler.XILInstr.CreateStk</a></div><div class="ttdeci">XILSInstr CreateStk(InstructionDependency[] preds, TypeDescriptor[] operandTypes, TypeDescriptor[] resultTypes)</div><div class="ttdoc">Creates a XIL-S representation of this instruction </div><div class="ttdef"><b>Definition:</b> <a href="_asm_core_8cs_source.html#l00122">AsmCore.cs:122</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_assembler_1_1_x_i_l_instruction_info_html_a20893d3944bd8eefbbfedc097d8b1fc5"><div class="ttname"><a href="class_system_sharp_1_1_assembler_1_1_x_i_l_instruction_info.html#a20893d3944bd8eefbbfedc097d8b1fc5">SystemSharp.Assembler.XILInstructionInfo.IsMemAccess</a></div><div class="ttdeci">bool IsMemAccess(XILInstr i, out MemAccessInfo mac)</div><div class="ttdoc">Checks whether a given XIL instruction is a memory access </div><div class="ttdef"><b>Definition:</b> <a href="_asm_core_8cs_source.html#l01074">AsmCore.cs:1074</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_assembler_1_1_x_i_l_instr_html_a948e683bbe2c9e97f340a74f7afdfe08"><div class="ttname"><a href="class_system_sharp_1_1_assembler_1_1_x_i_l_instr.html#a948e683bbe2c9e97f340a74f7afdfe08">SystemSharp.Assembler.XILInstr.XILInstr</a></div><div class="ttdeci">XILInstr(string name)</div><div class="ttdoc">Constructs a new instance without static operand </div><div class="ttdef"><b>Definition:</b> <a href="_asm_core_8cs_source.html#l00072">AsmCore.cs:72</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_assembler_1_1_mem_access_info_html_a0fcb41b0552070bf04474388fb1fb331"><div class="ttname"><a href="class_system_sharp_1_1_assembler_1_1_mem_access_info.html#a0fcb41b0552070bf04474388fb1fb331">SystemSharp.Assembler.MemAccessInfo.Kind</a></div><div class="ttdeci">EMemAccessKind Kind</div><div class="ttdoc">Kind of memory access </div><div class="ttdef"><b>Definition:</b> <a href="_asm_core_8cs_source.html#l00973">AsmCore.cs:973</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_assembler_1_1_time_dependency_html_ab2184f7dc746644f9e965753192652d0"><div class="ttname"><a href="class_system_sharp_1_1_assembler_1_1_time_dependency.html#ab2184f7dc746644f9e965753192652d0">SystemSharp.Assembler.TimeDependency.ToString</a></div><div class="ttdeci">override string ToString()</div><div class="ttdef"><b>Definition:</b> <a href="_asm_core_8cs_source.html#l00304">AsmCore.cs:304</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_assembler_1_1_x_i_l_instr_html_ac764bb3dd979b2652e84fdb6e7c96553"><div class="ttname"><a href="class_system_sharp_1_1_assembler_1_1_x_i_l_instr.html#ac764bb3dd979b2652e84fdb6e7c96553">SystemSharp.Assembler.XILInstr.Operand</a></div><div class="ttdeci">object Operand</div><div class="ttdoc">Optional static operand </div><div class="ttdef"><b>Definition:</b> <a href="_asm_core_8cs_source.html#l00050">AsmCore.cs:50</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_assembler_1_1_order_dependency_html_a2bb50716219c6c298c82641dd07bd207"><div class="ttname"><a href="class_system_sharp_1_1_assembler_1_1_order_dependency.html#a2bb50716219c6c298c82641dd07bd207">SystemSharp.Assembler.OrderDependency.EKind</a></div><div class="ttdeci">EKind</div><div class="ttdoc">Kind of dependency </div><div class="ttdef"><b>Definition:</b> <a href="_asm_core_8cs_source.html#l00197">AsmCore.cs:197</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_assembler_1_1_x_i_l_instr_html_a28c1d4552d763409c7c470200c88acd0"><div class="ttname"><a href="class_system_sharp_1_1_assembler_1_1_x_i_l_instr.html#a28c1d4552d763409c7c470200c88acd0">SystemSharp.Assembler.XILInstr.GetHashCode</a></div><div class="ttdeci">override int GetHashCode()</div><div class="ttdef"><b>Definition:</b> <a href="_asm_core_8cs_source.html#l00095">AsmCore.cs:95</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_assembler_1_1_x_i_l3_instr_html_ab8cd605fc1b82442d7dab4885bc231ca"><div class="ttname"><a href="class_system_sharp_1_1_assembler_1_1_x_i_l3_instr.html#ab8cd605fc1b82442d7dab4885bc231ca">SystemSharp.Assembler.XIL3Instr.Name</a></div><div class="ttdeci">string Name</div><div class="ttdef"><b>Definition:</b> <a href="_asm_core_8cs_source.html#l00388">AsmCore.cs:388</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_assembler_1_1_branch_label_html_acf968f7765a3b107d7320d0e4fe85706"><div class="ttname"><a href="class_system_sharp_1_1_assembler_1_1_branch_label.html#acf968f7765a3b107d7320d0e4fe85706">SystemSharp.Assembler.BranchLabel.GetHashCode</a></div><div class="ttdeci">override int GetHashCode()</div><div class="ttdef"><b>Definition:</b> <a href="_asm_core_8cs_source.html#l00635">AsmCore.cs:635</a></div></div>
<div class="ttc" id="namespace_system_sharp_1_1_components_html_ad268018ef23fa93dc0631786a118b530a1b488933c47964ca059d24f978f094e4"><div class="ttname"><a href="namespace_system_sharp_1_1_components.html#ad268018ef23fa93dc0631786a118b530a1b488933c47964ca059d24f978f094e4">SystemSharp.Components.Operand</a></div><div class="ttdoc">Marks an operand input port. </div></div>
<div class="ttc" id="class_system_sharp_1_1_assembler_1_1_x_i_l_instruction_info_html"><div class="ttname"><a href="class_system_sharp_1_1_assembler_1_1_x_i_l_instruction_info.html">SystemSharp.Assembler.XILInstructionInfo</a></div><div class="ttdoc">Implements the instruction information service for XIL instructions </div><div class="ttdef"><b>Definition:</b> <a href="_asm_core_8cs_source.html#l01066">AsmCore.cs:1066</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_assembler_1_1_x_i_l3_function_html_a21f2662d4bcae108fb1d402fecddae22"><div class="ttname"><a href="class_system_sharp_1_1_assembler_1_1_x_i_l3_function.html#a21f2662d4bcae108fb1d402fecddae22">SystemSharp.Assembler.XIL3Function.XIL3Function</a></div><div class="ttdeci">XIL3Function(string name, ArgumentDescriptor[] args, Variable[] locals, XIL3Instr[] instrs, TypeDescriptor[] slotTypes)</div><div class="ttdoc">Constructs an instance </div><div class="ttdef"><b>Definition:</b> <a href="_asm_core_8cs_source.html#l00654">AsmCore.cs:654</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_assembler_1_1_instruction_dependency_html"><div class="ttname"><a href="class_system_sharp_1_1_assembler_1_1_instruction_dependency.html">SystemSharp.Assembler.InstructionDependency</a></div><div class="ttdoc">Abstract base class for control and data dependencies. </div><div class="ttdef"><b>Definition:</b> <a href="_asm_core_8cs_source.html#l00164">AsmCore.cs:164</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_assembler_1_1_x_i_l_s_function_html_afc72e221b2af6691cf5071306aefc790"><div class="ttname"><a href="class_system_sharp_1_1_assembler_1_1_x_i_l_s_function.html#afc72e221b2af6691cf5071306aefc790">SystemSharp.Assembler.XILSFunction.ToString</a></div><div class="ttdeci">override string ToString()</div><div class="ttdef"><b>Definition:</b> <a href="_asm_core_8cs_source.html#l00899">AsmCore.cs:899</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_assembler_1_1_mem_access_info_html"><div class="ttname"><a href="class_system_sharp_1_1_assembler_1_1_mem_access_info.html">SystemSharp.Assembler.MemAccessInfo</a></div><div class="ttdoc">Models a memory access </div><div class="ttdef"><b>Definition:</b> <a href="_asm_core_8cs_source.html#l00948">AsmCore.cs:948</a></div></div>
<div class="ttc" id="interface_system_sharp_1_1_sys_d_o_m_1_1_i_callable_html"><div class="ttname"><a href="interface_system_sharp_1_1_sys_d_o_m_1_1_i_callable.html">SystemSharp.SysDOM.ICallable</a></div><div class="ttdoc">Common interface for everything which may be called as a function. </div><div class="ttdef"><b>Definition:</b> <a href="_core_algebraic_8cs_source.html#l03339">CoreAlgebraic.cs:3339</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_assembler_1_1_mem_access_info_html_af17cc4c6cbb6a05f650a7e47b1fe14c0"><div class="ttname"><a href="class_system_sharp_1_1_assembler_1_1_mem_access_info.html#af17cc4c6cbb6a05f650a7e47b1fe14c0">SystemSharp.Assembler.MemAccessInfo.AanalyzeDependency</a></div><div class="ttdeci">static EDependencyKind AanalyzeDependency(MemAccessInfo first, MemAccessInfo second)</div><div class="ttdoc">Analyzes the possible data dependency which might arise from two memory accesses. ...</div><div class="ttdef"><b>Definition:</b> <a href="_asm_core_8cs_source.html#l01014">AsmCore.cs:1014</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_assembler_1_1_x_i_l_s_instruction_info_html_ac9d3f7245c2a0a1d6a481c82be6ee73d"><div class="ttname"><a href="class_system_sharp_1_1_assembler_1_1_x_i_l_s_instruction_info.html#ac9d3f7245c2a0a1d6a481c82be6ee73d">SystemSharp.Assembler.XILSInstructionInfo.UsesResource</a></div><div class="ttdeci">EInstructionResourceAccess UsesResource(XILSInstr i, out IInstructionResource resource)</div><div class="ttdef"><b>Definition:</b> <a href="_asm_core_8cs_source.html#l01220">AsmCore.cs:1220</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_assembler_1_1_order_dependency_html"><div class="ttname"><a href="class_system_sharp_1_1_assembler_1_1_order_dependency.html">SystemSharp.Assembler.OrderDependency</a></div><div class="ttdoc">An order dependency specifies that an instruction must either not start before another instruction ha...</div><div class="ttdef"><b>Definition:</b> <a href="_asm_core_8cs_source.html#l00192">AsmCore.cs:192</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_assembler_1_1_variable_resource_html_a0824470017dcd2e360dcfd0f06e11fcf"><div class="ttname"><a href="class_system_sharp_1_1_assembler_1_1_variable_resource.html#a0824470017dcd2e360dcfd0f06e11fcf">SystemSharp.Assembler.VariableResource.VariableResource</a></div><div class="ttdeci">VariableResource(Variable v)</div><div class="ttdoc">Constructs an instance </div><div class="ttdef"><b>Definition:</b> <a href="_asm_core_8cs_source.html#l01044">AsmCore.cs:1044</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_assembler_1_1_x_i_l_s_function_html_af926317e38b694d398e194ab615f1d9c"><div class="ttname"><a href="class_system_sharp_1_1_assembler_1_1_x_i_l_s_function.html#af926317e38b694d398e194ab615f1d9c">SystemSharp.Assembler.XILSFunction.SanityCheck</a></div><div class="ttdeci">void SanityCheck()</div><div class="ttdoc">Checks the data structure for consistency. </div><div class="ttdef"><b>Definition:</b> <a href="_asm_core_8cs_source.html#l00925">AsmCore.cs:925</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_sys_d_o_m_1_1_variable_html"><div class="ttname"><a href="class_system_sharp_1_1_sys_d_o_m_1_1_variable.html">SystemSharp.SysDOM.Variable</a></div><div class="ttdoc">A local variable. </div><div class="ttdef"><b>Definition:</b> <a href="_literals_8cs_source.html#l00195">Literals.cs:195</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_assembler_1_1_x_i_l_s_function_html_ae28df527c2876cda174646456ea4af85"><div class="ttname"><a href="class_system_sharp_1_1_assembler_1_1_x_i_l_s_function.html#ae28df527c2876cda174646456ea4af85">SystemSharp.Assembler.XILSFunction.XILSFunction</a></div><div class="ttdeci">XILSFunction(string name, ArgumentDescriptor[] args, Variable[] locals, XILSInstr[] instrs)</div><div class="ttdoc">Constructs a new instance </div><div class="ttdef"><b>Definition:</b> <a href="_asm_core_8cs_source.html#l00870">AsmCore.cs:870</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_assembler_1_1_x_i_l_s_instr_html"><div class="ttname"><a href="class_system_sharp_1_1_assembler_1_1_x_i_l_s_instr.html">SystemSharp.Assembler.XILSInstr</a></div><div class="ttdoc">A XIL-S instruction </div><div class="ttdef"><b>Definition:</b> <a href="_asm_core_8cs_source.html#l00444">AsmCore.cs:444</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_assembler_1_1_x_i_l3_function_html_a1e8cbcd6a9d8385c3598e9dd37e956b7"><div class="ttname"><a href="class_system_sharp_1_1_assembler_1_1_x_i_l3_function.html#a1e8cbcd6a9d8385c3598e9dd37e956b7">SystemSharp.Assembler.XIL3Function.GetBasicBlockBoundaries</a></div><div class="ttdeci">int[] GetBasicBlockBoundaries()</div><div class="ttdoc">Segments the instruction sequence into basic blocks and returns their boundaries. ...</div><div class="ttdef"><b>Definition:</b> <a href="_asm_core_8cs_source.html#l00809">AsmCore.cs:809</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_assembler_1_1_x_i_l_instr_html_a0f11ba9becf9db55e3669c148b54c4c0"><div class="ttname"><a href="class_system_sharp_1_1_assembler_1_1_x_i_l_instr.html#a0f11ba9becf9db55e3669c148b54c4c0">SystemSharp.Assembler.XILInstr.XILInstr</a></div><div class="ttdeci">XILInstr(string name, object operand)</div><div class="ttdoc">Constructs a new instance with an optional static operand </div><div class="ttdef"><b>Definition:</b> <a href="_asm_core_8cs_source.html#l00062">AsmCore.cs:62</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_assembler_1_1_order_dependency_html_aed3fffc133617123707e78a635add6b1"><div class="ttname"><a href="class_system_sharp_1_1_assembler_1_1_order_dependency.html#aed3fffc133617123707e78a635add6b1">SystemSharp.Assembler.OrderDependency.ToString</a></div><div class="ttdeci">override string ToString()</div><div class="ttdef"><b>Definition:</b> <a href="_asm_core_8cs_source.html#l00241">AsmCore.cs:241</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_assembler_1_1_variable_resource_html_a0dc3070e68cc849b0544804a48267f0e"><div class="ttname"><a href="class_system_sharp_1_1_assembler_1_1_variable_resource.html#a0dc3070e68cc849b0544804a48267f0e">SystemSharp.Assembler.VariableResource.ConflictsWith</a></div><div class="ttdeci">bool ConflictsWith(IInstructionResource other)</div><div class="ttdoc">Tells whether this resource potentially conflicts with another resource (e.g. because they are the sa...</div><div class="ttdef"><b>Definition:</b> <a href="_asm_core_8cs_source.html#l01049">AsmCore.cs:1049</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_assembler_1_1_mem_access_info_html_a869198e3665c2e19b6d64589ed8b20e2"><div class="ttname"><a href="class_system_sharp_1_1_assembler_1_1_mem_access_info.html#a869198e3665c2e19b6d64589ed8b20e2">SystemSharp.Assembler.MemAccessInfo.EMemAccessKind</a></div><div class="ttdeci">EMemAccessKind</div><div class="ttdoc">Kind of memory access </div><div class="ttdef"><b>Definition:</b> <a href="_asm_core_8cs_source.html#l00953">AsmCore.cs:953</a></div></div>
<div class="ttc" id="interface_system_sharp_1_1_analysis_1_1_i_instruction_html"><div class="ttname"><a href="interface_system_sharp_1_1_analysis_1_1_i_instruction.html">SystemSharp.Analysis.IInstruction</a></div><div class="ttdoc">This interface associates instructions with a unique, 0-based indices </div><div class="ttdef"><b>Definition:</b> <a href="_controlflow_analysis_8cs_source.html#l00032">ControlflowAnalysis.cs:32</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_assembler_1_1_x_i_l_instr_html_a5e4209dbd98b50f1f46c59b7a66ef1d5"><div class="ttname"><a href="class_system_sharp_1_1_assembler_1_1_x_i_l_instr.html#a5e4209dbd98b50f1f46c59b7a66ef1d5">SystemSharp.Assembler.XILInstr.CreateStk</a></div><div class="ttdeci">XILSInstr CreateStk(int numOperands, params TypeDescriptor[] types)</div><div class="ttdoc">Creates a XIL-S representation of this instruction without any dependency </div><div class="ttdef"><b>Definition:</b> <a href="_asm_core_8cs_source.html#l00151">AsmCore.cs:151</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_assembler_1_1_x_i_l_s_function_html"><div class="ttname"><a href="class_system_sharp_1_1_assembler_1_1_x_i_l_s_function.html">SystemSharp.Assembler.XILSFunction</a></div><div class="ttdoc">A XIL-S function </div><div class="ttdef"><b>Definition:</b> <a href="_asm_core_8cs_source.html#l00861">AsmCore.cs:861</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_assembler_1_1_x_i_l3_function_html_a8ad0bea38cb5202e5a5d612991031ce4"><div class="ttname"><a href="class_system_sharp_1_1_assembler_1_1_x_i_l3_function.html#a8ad0bea38cb5202e5a5d612991031ce4">SystemSharp.Assembler.XIL3Function.ToString</a></div><div class="ttdeci">override string ToString()</div><div class="ttdef"><b>Definition:</b> <a href="_asm_core_8cs_source.html#l00703">AsmCore.cs:703</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_assembler_1_1_branch_label_html_a113d2a1c4a7a7f97d13c31c025d7acf8"><div class="ttname"><a href="class_system_sharp_1_1_assembler_1_1_branch_label.html#a113d2a1c4a7a7f97d13c31c025d7acf8">SystemSharp.Assembler.BranchLabel.BranchLabel</a></div><div class="ttdeci">BranchLabel()</div><div class="ttdoc">Constructs a new instance with undefined target instruction </div><div class="ttdef"><b>Definition:</b> <a href="_asm_core_8cs_source.html#l00605">AsmCore.cs:605</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_assembler_1_1_time_dependency_html_a51ccf1f0111971ceb17743c94f6928bd"><div class="ttname"><a href="class_system_sharp_1_1_assembler_1_1_time_dependency.html#a51ccf1f0111971ceb17743c94f6928bd">SystemSharp.Assembler.TimeDependency.TimeDependency</a></div><div class="ttdeci">TimeDependency(int predIndex, long minDelay, long maxDelay)</div><div class="ttdoc">Constructs a new instance </div><div class="ttdef"><b>Definition:</b> <a href="_asm_core_8cs_source.html#l00279">AsmCore.cs:279</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_assembler_1_1_order_dependency_html_a08ce660dfb3646a6f7d3f5a31def3ca5"><div class="ttname"><a href="class_system_sharp_1_1_assembler_1_1_order_dependency.html#a08ce660dfb3646a6f7d3f5a31def3ca5">SystemSharp.Assembler.OrderDependency.OrderDependency</a></div><div class="ttdeci">OrderDependency(int predIndex, EKind kind)</div><div class="ttdoc">Constructs a new instance </div><div class="ttdef"><b>Definition:</b> <a href="_asm_core_8cs_source.html#l00220">AsmCore.cs:220</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_assembler_1_1_x_i_l3_instruction_info_html_a1f9f3dc98c7eecb091bb64df9681548f"><div class="ttname"><a href="class_system_sharp_1_1_assembler_1_1_x_i_l3_instruction_info.html#a1f9f3dc98c7eecb091bb64df9681548f">SystemSharp.Assembler.XIL3InstructionInfo.IsLocalVariableAccess</a></div><div class="ttdeci">ELocalVariableAccess IsLocalVariableAccess(XIL3Instr i, out int localIndex)</div><div class="ttdef"><b>Definition:</b> <a href="_asm_core_8cs_source.html#l01287">AsmCore.cs:1287</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_assembler_1_1_order_dependency_html_a23004bb286d269272f9ecd3390089c77"><div class="ttname"><a href="class_system_sharp_1_1_assembler_1_1_order_dependency.html#a23004bb286d269272f9ecd3390089c77">SystemSharp.Assembler.OrderDependency.GetHashCode</a></div><div class="ttdeci">override int GetHashCode()</div><div class="ttdef"><b>Definition:</b> <a href="_asm_core_8cs_source.html#l00236">AsmCore.cs:236</a></div></div>
<div class="ttc" id="interface_system_sharp_1_1_analysis_1_1_i_instruction_resource_html"><div class="ttname"><a href="interface_system_sharp_1_1_analysis_1_1_i_instruction_resource.html">SystemSharp.Analysis.IInstructionResource</a></div><div class="ttdoc">Abstract representation of a resource which might be accessed by an instruction </div><div class="ttdef"><b>Definition:</b> <a href="_controlflow_analysis_8cs_source.html#l00128">ControlflowAnalysis.cs:128</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_assembler_1_1_x_i_l3_instruction_info_html_a7385e51d524f40ac39d172d2775a0327"><div class="ttname"><a href="class_system_sharp_1_1_assembler_1_1_x_i_l3_instruction_info.html#a7385e51d524f40ac39d172d2775a0327">SystemSharp.Assembler.XIL3InstructionInfo.Classify</a></div><div class="ttdeci">EInstructionClass Classify(XIL3Instr i)</div><div class="ttdef"><b>Definition:</b> <a href="_asm_core_8cs_source.html#l01277">AsmCore.cs:1277</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_assembler_1_1_x_i_l3_function_html_a1ef6cd886a59118049b9852faa63a244"><div class="ttname"><a href="class_system_sharp_1_1_assembler_1_1_x_i_l3_function.html#a1ef6cd886a59118049b9852faa63a244">SystemSharp.Assembler.XIL3Function.SanityCheck</a></div><div class="ttdeci">void SanityCheck()</div><div class="ttdoc">Checks the data structure for consistency. </div><div class="ttdef"><b>Definition:</b> <a href="_asm_core_8cs_source.html#l00838">AsmCore.cs:838</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_assembler_1_1_x_i_l_instr_html_ab10eb8319aaa1cdcc67a097abbf52c08"><div class="ttname"><a href="class_system_sharp_1_1_assembler_1_1_x_i_l_instr.html#ab10eb8319aaa1cdcc67a097abbf52c08">SystemSharp.Assembler.XILInstr.Equals</a></div><div class="ttdeci">override bool Equals(object obj)</div><div class="ttdef"><b>Definition:</b> <a href="_asm_core_8cs_source.html#l00085">AsmCore.cs:85</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_assembler_1_1_branch_label_html_af5dd8246c65151b66488c1574066d623"><div class="ttname"><a href="class_system_sharp_1_1_assembler_1_1_branch_label.html#af5dd8246c65151b66488c1574066d623">SystemSharp.Assembler.BranchLabel.InstructionIndex</a></div><div class="ttdeci">int InstructionIndex</div><div class="ttdoc">Index of target instruction, -1 if undefined </div><div class="ttdef"><b>Definition:</b> <a href="_asm_core_8cs_source.html#l00588">AsmCore.cs:588</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_assembler_1_1_instruction_dependency_html_a4e5dc4e7d44101586f8221b99718e29b"><div class="ttname"><a href="class_system_sharp_1_1_assembler_1_1_instruction_dependency.html#a4e5dc4e7d44101586f8221b99718e29b">SystemSharp.Assembler.InstructionDependency.InstructionDependency</a></div><div class="ttdeci">InstructionDependency(int predIndex)</div><div class="ttdoc">Constructs an instance </div><div class="ttdef"><b>Definition:</b> <a href="_asm_core_8cs_source.html#l00175">AsmCore.cs:175</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_assembler_1_1_x_i_l3_instr_html"><div class="ttname"><a href="class_system_sharp_1_1_assembler_1_1_x_i_l3_instr.html">SystemSharp.Assembler.XIL3Instr</a></div><div class="ttdoc">A XIL-3 instruction </div><div class="ttdef"><b>Definition:</b> <a href="_asm_core_8cs_source.html#l00350">AsmCore.cs:350</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_assembler_1_1_x_i_l_instruction_info_html_a68b5f6daf829d20da32019bf7b4e3e4c"><div class="ttname"><a href="class_system_sharp_1_1_assembler_1_1_x_i_l_instruction_info.html#a68b5f6daf829d20da32019bf7b4e3e4c">SystemSharp.Assembler.XILInstructionInfo.UsesResource</a></div><div class="ttdeci">EInstructionResourceAccess UsesResource(XILInstr i, out IInstructionResource resource)</div><div class="ttdef"><b>Definition:</b> <a href="_asm_core_8cs_source.html#l01173">AsmCore.cs:1173</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_assembler_1_1_x_i_l_instruction_info_html_af3a120cea05a14b814b537bc04b4da0f"><div class="ttname"><a href="class_system_sharp_1_1_assembler_1_1_x_i_l_instruction_info.html#af3a120cea05a14b814b537bc04b4da0f">SystemSharp.Assembler.XILInstructionInfo.Classify</a></div><div class="ttdeci">EInstructionClass Classify(XILInstr i)</div><div class="ttdef"><b>Definition:</b> <a href="_asm_core_8cs_source.html#l01100">AsmCore.cs:1100</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_assembler_1_1_order_dependency_html_a4462063f736230caba03219bfee1cc12"><div class="ttname"><a href="class_system_sharp_1_1_assembler_1_1_order_dependency.html#a4462063f736230caba03219bfee1cc12">SystemSharp.Assembler.OrderDependency.Remap</a></div><div class="ttdeci">override InstructionDependency Remap(int newPredIndex)</div><div class="ttdoc">Creates a semantically equivalent dependency for a different instruction index </div><div class="ttdef"><b>Definition:</b> <a href="_asm_core_8cs_source.html#l00251">AsmCore.cs:251</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_assembler_1_1_x_i_l_s_instr_html_ac07d857b6993d86dde02c345082324f5"><div class="ttname"><a href="class_system_sharp_1_1_assembler_1_1_x_i_l_s_instr.html#ac07d857b6993d86dde02c345082324f5">SystemSharp.Assembler.XILSInstr.XILSInstr</a></div><div class="ttdeci">XILSInstr(XILInstr command, InstructionDependency[] preds, TypeDescriptor[] operandTypes, TypeDescriptor[] resultTypes)</div><div class="ttdoc">Constructs a new instance </div><div class="ttdef"><b>Definition:</b> <a href="_asm_core_8cs_source.html#l00493">AsmCore.cs:493</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_meta_1_1_type_descriptor_html"><div class="ttname"><a href="class_system_sharp_1_1_meta_1_1_type_descriptor.html">SystemSharp.Meta.TypeDescriptor</a></div><div class="ttdoc">Describes a type. </div><div class="ttdef"><b>Definition:</b> <a href="_type_descriptor_8cs_source.html#l00120">TypeDescriptor.cs:120</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_assembler_1_1_x_i_l3_instr_html_a61d14ed06e53f940dcb61515c331159f"><div class="ttname"><a href="class_system_sharp_1_1_assembler_1_1_x_i_l3_instr.html#a61d14ed06e53f940dcb61515c331159f">SystemSharp.Assembler.XIL3Instr.ToString</a></div><div class="ttdeci">override string ToString()</div><div class="ttdef"><b>Definition:</b> <a href="_asm_core_8cs_source.html#l00410">AsmCore.cs:410</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_assembler_1_1_x_i_l_instruction_info_html_adec970714a28fba7682e08649a6b4e3a"><div class="ttname"><a href="class_system_sharp_1_1_assembler_1_1_x_i_l_instruction_info.html#adec970714a28fba7682e08649a6b4e3a">SystemSharp.Assembler.XILInstructionInfo.IsLocalVariableAccess</a></div><div class="ttdeci">ELocalVariableAccess IsLocalVariableAccess(XILInstr i, out int localIndex)</div><div class="ttdef"><b>Definition:</b> <a href="_asm_core_8cs_source.html#l01151">AsmCore.cs:1151</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_assembler_1_1_branch_label_html"><div class="ttname"><a href="class_system_sharp_1_1_assembler_1_1_branch_label.html">SystemSharp.Assembler.BranchLabel</a></div><div class="ttdoc">A branch label </div><div class="ttdef"><b>Definition:</b> <a href="_asm_core_8cs_source.html#l00580">AsmCore.cs:580</a></div></div>
<div class="ttc" id="interface_system_sharp_1_1_assembler_1_1_i_x_i_lx_instr_html"><div class="ttname"><a href="interface_system_sharp_1_1_assembler_1_1_i_x_i_lx_instr.html">SystemSharp.Assembler.IXILxInstr</a></div><div class="ttdoc">Common interface for both XIL-S and XIL-3 instructions </div><div class="ttdef"><b>Definition:</b> <a href="_asm_core_8cs_source.html#l00318">AsmCore.cs:318</a></div></div>
<div class="ttc" id="namespace_system_sharp_1_1_meta_html_a6d63cf701a55bdbe2a3bb6df72b1c11daafcbeb58fca053cad573bd9efda1dc5b"><div class="ttname"><a href="namespace_system_sharp_1_1_meta.html#a6d63cf701a55bdbe2a3bb6df72b1c11daafcbeb58fca053cad573bd9efda1dc5b">SystemSharp.Meta.Tuple</a></div><div class="ttdoc">All kinds of CLI Tuple </div></div>
<div class="ttc" id="class_system_sharp_1_1_assembler_1_1_x_i_l_s_instruction_info_html_ae46138fbd7f36379ddc3728360d8945e"><div class="ttname"><a href="class_system_sharp_1_1_assembler_1_1_x_i_l_s_instruction_info.html#ae46138fbd7f36379ddc3728360d8945e">SystemSharp.Assembler.XILSInstructionInfo.Classify</a></div><div class="ttdeci">EInstructionClass Classify(XILSInstr i)</div><div class="ttdef"><b>Definition:</b> <a href="_asm_core_8cs_source.html#l01205">AsmCore.cs:1205</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_meta_1_1_argument_descriptor_html"><div class="ttname"><a href="class_system_sharp_1_1_meta_1_1_argument_descriptor.html">SystemSharp.Meta.ArgumentDescriptor</a></div><div class="ttdoc">Describes a method argument. </div><div class="ttdef"><b>Definition:</b> <a href="_components_reflection_8cs_source.html#l01272">ComponentsReflection.cs:1272</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_assembler_1_1_x_i_l_instr_html_a803ac286c94a3a4e9d9ee94e78dd6ccf"><div class="ttname"><a href="class_system_sharp_1_1_assembler_1_1_x_i_l_instr.html#a803ac286c94a3a4e9d9ee94e78dd6ccf">SystemSharp.Assembler.XILInstr.Create3AC</a></div><div class="ttdeci">XIL3Instr Create3AC(InstructionDependency[] preds, int[] operandSlots, int[] resultSlots)</div><div class="ttdoc">Creates a XIL-3 representation of this instruction </div><div class="ttdef"><b>Definition:</b> <a href="_asm_core_8cs_source.html#l00110">AsmCore.cs:110</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_assembler_1_1_x_i_l_s_instr_html_a91023561b596037ba791c243f3284830"><div class="ttname"><a href="class_system_sharp_1_1_assembler_1_1_x_i_l_s_instr.html#a91023561b596037ba791c243f3284830">SystemSharp.Assembler.XILSInstr.ToString</a></div><div class="ttdeci">override string ToString()</div><div class="ttdef"><b>Definition:</b> <a href="_asm_core_8cs_source.html#l00508">AsmCore.cs:508</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_assembler_1_1_mem_access_info_html_a8777b82a45bea866159dde877ae904c3"><div class="ttname"><a href="class_system_sharp_1_1_assembler_1_1_mem_access_info.html#a8777b82a45bea866159dde877ae904c3">SystemSharp.Assembler.MemAccessInfo.EDependencyKind</a></div><div class="ttdeci">EDependencyKind</div><div class="ttdoc">Kind of data dependency </div><div class="ttdef"><b>Definition:</b> <a href="_asm_core_8cs_source.html#l00962">AsmCore.cs:962</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_assembler_1_1_x_i_l_s_instr_html_a150187afdc70d69313ed664984ca65aa"><div class="ttname"><a href="class_system_sharp_1_1_assembler_1_1_x_i_l_s_instr.html#a150187afdc70d69313ed664984ca65aa">SystemSharp.Assembler.XILSInstr.OperandTypes</a></div><div class="ttdeci">TypeDescriptor[] OperandTypes</div><div class="ttdoc">Types of operands expected on the stack, from bottom (index 0) to top </div><div class="ttdef"><b>Definition:</b> <a href="_asm_core_8cs_source.html#l00464">AsmCore.cs:464</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_assembler_1_1_x_i_l3_instruction_info_html"><div class="ttname"><a href="class_system_sharp_1_1_assembler_1_1_x_i_l3_instruction_info.html">SystemSharp.Assembler.XIL3InstructionInfo</a></div><div class="ttdoc">Implements the instruction information service for XIL-3 instructions </div><div class="ttdef"><b>Definition:</b> <a href="_asm_core_8cs_source.html#l01273">AsmCore.cs:1273</a></div></div>
<div class="ttc" id="namespace_system_sharp_1_1_analysis_html_a07cc6c00d393e2c4e350d74e0d9804c2"><div class="ttname"><a href="namespace_system_sharp_1_1_analysis.html#a07cc6c00d393e2c4e350d74e0d9804c2">SystemSharp.Analysis.EInstructionClass</a></div><div class="ttdeci">EInstructionClass</div><div class="ttdoc">Classifies instructions into categories </div><div class="ttdef"><b>Definition:</b> <a href="_controlflow_analysis_8cs_source.html#l00040">ControlflowAnalysis.cs:40</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_assembler_1_1_x_i_l_s_instruction_info_html"><div class="ttname"><a href="class_system_sharp_1_1_assembler_1_1_x_i_l_s_instruction_info.html">SystemSharp.Assembler.XILSInstructionInfo</a></div><div class="ttdoc">Implements the instruction information service for XIL-S instructions </div><div class="ttdef"><b>Definition:</b> <a href="_asm_core_8cs_source.html#l01201">AsmCore.cs:1201</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_assembler_1_1_variable_resource_html"><div class="ttname"><a href="class_system_sharp_1_1_assembler_1_1_variable_resource.html">SystemSharp.Assembler.VariableResource</a></div><div class="ttdoc">Models a local variable as instruction resource </div><div class="ttdef"><b>Definition:</b> <a href="_asm_core_8cs_source.html#l01033">AsmCore.cs:1033</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_assembler_1_1_x_i_l_instruction_info_html_a38b018a7d95153c6bd195b450bf96f49"><div class="ttname"><a href="class_system_sharp_1_1_assembler_1_1_x_i_l_instruction_info.html#a38b018a7d95153c6bd195b450bf96f49">SystemSharp.Assembler.XILInstructionInfo.IsBranch</a></div><div class="ttdeci">EBranchBehavior IsBranch(XILInstr i, out IEnumerable&lt; int &gt; targets)</div><div class="ttdef"><b>Definition:</b> <a href="_asm_core_8cs_source.html#l01121">AsmCore.cs:1121</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_assembler_1_1_time_dependency_html_ac849ba381f55627cef27d99009b813a9"><div class="ttname"><a href="class_system_sharp_1_1_assembler_1_1_time_dependency.html#ac849ba381f55627cef27d99009b813a9">SystemSharp.Assembler.TimeDependency.Remap</a></div><div class="ttdeci">override InstructionDependency Remap(int newPredIndex)</div><div class="ttdoc">Creates a semantically equivalent dependency for a different instruction index </div><div class="ttdef"><b>Definition:</b> <a href="_asm_core_8cs_source.html#l00309">AsmCore.cs:309</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_assembler_1_1_branch_label_html_a6ded81806044f1d02ae4d6e64b62b0b1"><div class="ttname"><a href="class_system_sharp_1_1_assembler_1_1_branch_label.html#a6ded81806044f1d02ae4d6e64b62b0b1">SystemSharp.Assembler.BranchLabel.ToString</a></div><div class="ttdeci">override string ToString()</div><div class="ttdef"><b>Definition:</b> <a href="_asm_core_8cs_source.html#l00611">AsmCore.cs:611</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_assembler_1_1_x_i_l3_function_html_a20ef6b3ae6f76aef856baef96dc40470"><div class="ttname"><a href="class_system_sharp_1_1_assembler_1_1_x_i_l3_function.html#a20ef6b3ae6f76aef856baef96dc40470">SystemSharp.Assembler.XIL3Function.GetSlotTypes</a></div><div class="ttdeci">TypeDescriptor[] GetSlotTypes(int[] slots)</div><div class="ttdoc">Returns the datatypes of a specified subset of slots </div><div class="ttdef"><b>Definition:</b> <a href="_asm_core_8cs_source.html#l00800">AsmCore.cs:800</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_assembler_1_1_order_dependency_html_acdf3cfdf9def02639d0b9ecb804922f5"><div class="ttname"><a href="class_system_sharp_1_1_assembler_1_1_order_dependency.html#acdf3cfdf9def02639d0b9ecb804922f5">SystemSharp.Assembler.OrderDependency.Equals</a></div><div class="ttdeci">override bool Equals(object obj)</div><div class="ttdef"><b>Definition:</b> <a href="_asm_core_8cs_source.html#l00226">AsmCore.cs:226</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_assembler_1_1_x_i_l_s_instruction_info_html_a0be0a409f3918acdb66baed6f6e9dd71"><div class="ttname"><a href="class_system_sharp_1_1_assembler_1_1_x_i_l_s_instruction_info.html#a0be0a409f3918acdb66baed6f6e9dd71">SystemSharp.Assembler.XILSInstructionInfo.GetBasicBlockBoundaries</a></div><div class="ttdeci">static IEnumerable&lt; int &gt; GetBasicBlockBoundaries(IEnumerable&lt; XILSInstr &gt; instrs)</div><div class="ttdoc">Segments a sequence of XIL-S instructions into basic blocks and returns their boundaries. </div><div class="ttdef"><b>Definition:</b> <a href="_asm_core_8cs_source.html#l01230">AsmCore.cs:1230</a></div></div>
<div class="ttc" id="namespace_system_sharp_1_1_analysis_html_a297a1358d9e61ee4fce1cae42d391a11"><div class="ttname"><a href="namespace_system_sharp_1_1_analysis.html#a297a1358d9e61ee4fce1cae42d391a11">SystemSharp.Analysis.EInstructionResourceAccess</a></div><div class="ttdeci">EInstructionResourceAccess</div><div class="ttdoc">Classifies resource accesses into categories </div><div class="ttdef"><b>Definition:</b> <a href="_controlflow_analysis_8cs_source.html#l00141">ControlflowAnalysis.cs:141</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_assembler_1_1_x_i_l_s_instruction_info_html_abbb62b56d4f824ffa08254631f32156b"><div class="ttname"><a href="class_system_sharp_1_1_assembler_1_1_x_i_l_s_instruction_info.html#abbb62b56d4f824ffa08254631f32156b">SystemSharp.Assembler.XILSInstructionInfo.GetBasicBlocks</a></div><div class="ttdeci">static IEnumerable&lt; IEnumerable&lt; XILSInstr &gt; &gt; GetBasicBlocks(IEnumerable&lt; XILSInstr &gt; instrs)</div><div class="ttdoc">Segments a sequence of XIL-S instructions into basic blocks and returns an enumeration of basic block...</div><div class="ttdef"><b>Definition:</b> <a href="_asm_core_8cs_source.html#l01260">AsmCore.cs:1260</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_assembler_1_1_x_i_l_s_instruction_info_html_abd2e7c560d3ee31bd9797c68723337d7"><div class="ttname"><a href="class_system_sharp_1_1_assembler_1_1_x_i_l_s_instruction_info.html#abd2e7c560d3ee31bd9797c68723337d7">SystemSharp.Assembler.XILSInstructionInfo.IsBranch</a></div><div class="ttdeci">EBranchBehavior IsBranch(XILSInstr i, out IEnumerable&lt; int &gt; targets)</div><div class="ttdef"><b>Definition:</b> <a href="_asm_core_8cs_source.html#l01210">AsmCore.cs:1210</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_assembler_1_1_x_i_l_instr_html_a215b904e42fcaa538d19453ee4585ee1"><div class="ttname"><a href="class_system_sharp_1_1_assembler_1_1_x_i_l_instr.html#a215b904e42fcaa538d19453ee4585ee1">SystemSharp.Assembler.XILInstr.CreateStk</a></div><div class="ttdeci">XILSInstr CreateStk(InstructionDependency[] preds, int numOperands, params TypeDescriptor[] types)</div><div class="ttdoc">Creates a XIL-S representation of this instruction </div><div class="ttdef"><b>Definition:</b> <a href="_asm_core_8cs_source.html#l00134">AsmCore.cs:134</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_assembler_1_1_branch_label_html_a7dffa7ac42db32bae7e15a8254c139a2"><div class="ttname"><a href="class_system_sharp_1_1_assembler_1_1_branch_label.html#a7dffa7ac42db32bae7e15a8254c139a2">SystemSharp.Assembler.BranchLabel.Equals</a></div><div class="ttdeci">override bool Equals(object obj)</div><div class="ttdef"><b>Definition:</b> <a href="_asm_core_8cs_source.html#l00622">AsmCore.cs:622</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_assembler_1_1_x_i_l_instr_html"><div class="ttname"><a href="class_system_sharp_1_1_assembler_1_1_x_i_l_instr.html">SystemSharp.Assembler.XILInstr</a></div><div class="ttdoc">Models a XIL instruction </div><div class="ttdef"><b>Definition:</b> <a href="_asm_core_8cs_source.html#l00040">AsmCore.cs:40</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_assembler_1_1_x_i_l3_instruction_info_html_ac78232e373055bd84ad8d44d682d14fd"><div class="ttname"><a href="class_system_sharp_1_1_assembler_1_1_x_i_l3_instruction_info.html#ac78232e373055bd84ad8d44d682d14fd">SystemSharp.Assembler.XIL3InstructionInfo.IsBranch</a></div><div class="ttdeci">EBranchBehavior IsBranch(XIL3Instr i, out IEnumerable&lt; int &gt; targets)</div><div class="ttdef"><b>Definition:</b> <a href="_asm_core_8cs_source.html#l01282">AsmCore.cs:1282</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_assembler_1_1_time_dependency_html"><div class="ttname"><a href="class_system_sharp_1_1_assembler_1_1_time_dependency.html">SystemSharp.Assembler.TimeDependency</a></div><div class="ttdoc">A time dependency indicates that an instruction must begin within a certain time interval after anoth...</div><div class="ttdef"><b>Definition:</b> <a href="_asm_core_8cs_source.html#l00261">AsmCore.cs:261</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_assembler_1_1_x_i_l3_instruction_info_html_a5085a729a377967b81e18cf7c804278e"><div class="ttname"><a href="class_system_sharp_1_1_assembler_1_1_x_i_l3_instruction_info.html#a5085a729a377967b81e18cf7c804278e">SystemSharp.Assembler.XIL3InstructionInfo.UsesResource</a></div><div class="ttdeci">EInstructionResourceAccess UsesResource(XIL3Instr i, out IInstructionResource resource)</div><div class="ttdef"><b>Definition:</b> <a href="_asm_core_8cs_source.html#l01292">AsmCore.cs:1292</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_assembler_1_1_x_i_l_instr_html_ac1be110ff484ec0078a5ccc572d463bd"><div class="ttname"><a href="class_system_sharp_1_1_assembler_1_1_x_i_l_instr.html#ac1be110ff484ec0078a5ccc572d463bd">SystemSharp.Assembler.XILInstr.Name</a></div><div class="ttdeci">string Name</div><div class="ttdoc">Opcode </div><div class="ttdef"><b>Definition:</b> <a href="_asm_core_8cs_source.html#l00045">AsmCore.cs:45</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_assembler_1_1_mem_access_info_html_ab51b395fdee6fa137b4226886f928b32"><div class="ttname"><a href="class_system_sharp_1_1_assembler_1_1_mem_access_info.html#ab51b395fdee6fa137b4226886f928b32">SystemSharp.Assembler.MemAccessInfo.MemAccessInfo</a></div><div class="ttdeci">MemAccessInfo(EMemAccessKind kind, ulong minAddress, ulong maxAddress)</div><div class="ttdoc">Constructs an instance </div><div class="ttdef"><b>Definition:</b> <a href="_asm_core_8cs_source.html#l00991">AsmCore.cs:991</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_assembler_1_1_time_dependency_html_a9b7e5c1acd07dd57890cf7b0fb34550d"><div class="ttname"><a href="class_system_sharp_1_1_assembler_1_1_time_dependency.html#a9b7e5c1acd07dd57890cf7b0fb34550d">SystemSharp.Assembler.TimeDependency.GetHashCode</a></div><div class="ttdeci">override int GetHashCode()</div><div class="ttdef"><b>Definition:</b> <a href="_asm_core_8cs_source.html#l00297">AsmCore.cs:297</a></div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_bb5e995590685548b7e11478911ee7c3.html">SystemSharp-Google-SVN</a></li><li class="navelem"><a class="el" href="dir_8deefa4467a62b572b52d238d562b104.html">SystemSharp</a></li><li class="navelem"><a class="el" href="dir_0e5a72156f8560bbc472a395da2569d6.html">SystemSharp</a></li><li class="navelem"><a class="el" href="dir_9d3c30b4336bd92c64ccf0aeee487ace.html">SystemSharp</a></li><li class="navelem"><a class="el" href="dir_a963eca034002571cb311faf6f990d11.html">Assembler</a></li><li class="navelem"><a class="el" href="_asm_core_8cs.html">AsmCore.cs</a></li>
    <li class="footer">Generated on Thu Dec 26 2013 14:21:36 for SystemSharp by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.6 </li>
  </ul>
</div>
</body>
</html>
